igb: fix ieee1588 timestamping
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 31 Jul 2015 01:20:30 +0000 (09:20 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 12:42:22 +0000 (14:42 +0200)
commitcff4a985ef79423c6bde124d30770d7be0f17bad
tree4fc512bbc82fc5e4e1a53ca09a0fe6e621c25a78
parent830118e7f3f28a4cd47a94a255c6b8848d1c984a
igb: fix ieee1588 timestamping

Ieee1588 reads system time to set its timestamp. On 1G NICs, for example,
i350, system time is disabled by default. It means the ieee1588 timestamp
will always be 0.
This patch enables system time when ieee1588 is enabled.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
drivers/net/e1000/igb_ethdev.c