]> git.droids-corp.org - dpdk.git/commit
common/iavf: support Rx timestamp in virtual channel
authorSimei Su <simei.su@intel.com>
Thu, 28 Apr 2022 08:13:44 +0000 (16:13 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 9 May 2022 01:51:51 +0000 (03:51 +0200)
commit90160401a2c7f1252068c0a56fd3722285a5fa86
treea90a715fb5df16a15f38d0d308269adba2438dec
parentef1fff204c006efe48831d2198e3de6ce5301258
common/iavf: support Rx timestamp in virtual channel

Add new ops and structures to support VF to support Rx timestamp
on flex descriptor.

"VIRTCHNL_OP_1588_PTP_GET_CAPS" ops is sent by the VF to request PTP
capabilities and responded by the PF with capabilities enabled for
that VF.

"VIRTCHNL_OP_1588_PTP_GET_TIME" ops is sent by the VF to request
the current time of the PHC. The PF will respond by reading the
device time and reporting it back to the VF.

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/common/iavf/virtchnl.h