This series adds the Earliest TxTime First (ETF) offload, also known as Tx packet pacing or send-on-timestamp, to the iavf driver on E830.
The first three patches take the virtchnl and register definitions from the shared base code used by the Linux iavf driver. The VF requests the VIRTCHNL_VF_OFFLOAD_TXTIME capability with VIRTCHNL_OP_GET_VF_CAPS2 and passes a timestamp ring per Tx queue to the PF, which configures the Tx time queue context. The launch time handling follows the fixed E830 PF support: full PHC timestamp encoding rounded to 128 ns, a 30 ms horizon and immediate send of unscheduled packets. As a device clock read is a request to the PF, the Tx path estimates the clock with the TSC. The offload needs a PF driver that supports Tx time for VFs. Tested on an E830 100G VF, with a receiver timestamping every packet in hardware: - packets 10 us apart: 98.6% of the gaps within +-256 ns, 73 ns launch jitter - 8 Tx queues, bursts of 8 packets 128 ns apart: 100% within +-256 ns, 47 ns launch jitter Known issue: the Linux ice PF driver does not disable the Tx time queue of a VF when the VF stops its queues. Packets still pending then leave the Tx time engine stuck until a core reset. This is being fixed in the PF driver. Paul Greenwalt (3): net/iavf/base: add VF Earliest TxTime First offload support net/iavf/base: add VF Earliest TxTime First offload flag net/iavf/base: add VF Earliest TxTime First offload register Soumyadeep Hore (3): net/intel/common: add Tx time queue field for iavf net/iavf: support Earliest TxTime First offload doc: add iavf Earliest TxTime First offload doc/guides/nics/intel_vf.rst | 35 ++++ doc/guides/rel_notes/release_27_03.rst | 6 + drivers/net/intel/common/tx.h | 1 + drivers/net/intel/iavf/base/iavf_register.h | 1 + drivers/net/intel/iavf/base/iavf_type.h | 5 + drivers/net/intel/iavf/base/virtchnl.h | 60 ++++++- drivers/net/intel/iavf/iavf.h | 43 +++++ drivers/net/intel/iavf/iavf_ethdev.c | 181 ++++++++++++++++++++ drivers/net/intel/iavf/iavf_rxtx.c | 145 +++++++++++++++- drivers/net/intel/iavf/iavf_rxtx.h | 23 +++ drivers/net/intel/iavf/iavf_vchnl.c | 65 +++++++ 11 files changed, 561 insertions(+), 4 deletions(-) base-commit: ddb3b0c47d172d951b1b3660e8acd754a6a92eb0 -- 2.43.0

