i40e: fix ieee1588 timestamping with next ABI
authorJohn McNamara <john.mcnamara@intel.com>
Fri, 31 Jul 2015 11:39:00 +0000 (12:39 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 12:48:28 +0000 (14:48 +0200)
commit4a5d5d54222cef8f15810ab366aa8049b59a0962
tree06fcb52b3534be3cde0b93d5df6dd2de76de0f19
parentcff4a985ef79423c6bde124d30770d7be0f17bad
i40e: fix ieee1588 timestamping with next ABI

Fixes issue where ieee15888 timestamping doesn't work for the i40e
pmd when RTE_ABI_NEXT is enabled.

Also refactors repeated ieee15888 flag checking and setting
code into a function.

Test report: http://dpdk.org/ml/archives/dev/2015-August/022496.html

Reported-by: Huilong Xu <huilongx.xu@intel.com>
Signed-off-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/i40e_rxtx.c