net/ice: support 1PPS
authorSimei Su <simei.su@intel.com>
Wed, 15 Sep 2021 05:34:22 +0000 (13:34 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 22 Sep 2021 06:47:42 +0000 (08:47 +0200)
commit437dbd2fd4289c32e2937a1e7dbe95645457dfff
tree86bfc94aeab5f357d879362cadf02e8d67580f43
parentd8aaa6d9c26446b8c932b35aa1ef9ac0ee0080e9
net/ice: support 1PPS

The E810 supports four single-ended GPIO signals (SDP[20:23]). The 1PPS
signal outputs via SDP[20:23], which is measured by an oscilloscope.
This feature can be turned by a devargs which can select GPIO pin index
flexibly. Pin index 0 means SDP20, pin index 1 means SDP21 and so on.

The example for test command is as below:
./build/app/dpdk-testpmd -a af:00.0,pps_out='[pin:2]' -c f -n 4 -- -i

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