net/ice: support IEEE 1588 PTP
authorSimei Su <simei.su@intel.com>
Tue, 28 Sep 2021 06:27:53 +0000 (14:27 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 28 Sep 2021 11:13:52 +0000 (13:13 +0200)
commit646dcbe6c701ec2fcfec89dd7a2d9d4c45ce631c
treebd9b3741e2fe72ad809845e6f46ea11cff4ce5ca
parentb71573ec2fc239e814a3f329a7c88f4067e91eae
net/ice: support IEEE 1588 PTP

Add ice support for new ethdev APIs to enable/disable and read/write/adjust
IEEE1588 PTP timestamps. Currently, only scalar path supports 1588 PTP,
vector path doesn't.

The example command for running ptpclient is as below:
./build/examples/dpdk-ptpclient -c 1 -n 3 -- -T 0 -p 0x1

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/nics/features/ice.ini
doc/guides/rel_notes/release_21_11.rst
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h
drivers/net/ice/ice_rxtx.c
drivers/net/ice/ice_rxtx.h