All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/6] net/iavf: support Earliest TxTime First offload
@ 2026-12-02 12:57 Soumyadeep Hore
  2026-12-02 12:57 ` [PATCH v1 1/6] net/iavf/base: add VF Earliest TxTime First offload support Soumyadeep Hore
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Soumyadeep Hore @ 2026-12-02 12:57 UTC (permalink / raw)
  To: dev, bruce.richardson, rajesh3.kumar, aman.deep.singh
  Cc: dawid.wesierski, manoj.kumar.subbarao, vladimir.medvedkin

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-12-04 10:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 12:57 [PATCH v1 0/6] net/iavf: support Earliest TxTime First offload Soumyadeep Hore
2026-12-02 12:57 ` [PATCH v1 1/6] net/iavf/base: add VF Earliest TxTime First offload support Soumyadeep Hore
2026-12-04  8:08   ` Kumar, Rajesh
2026-12-02 12:57 ` [PATCH v1 2/6] net/iavf/base: add VF Earliest TxTime First offload flag Soumyadeep Hore
2026-12-04  8:09   ` Kumar, Rajesh
2026-12-02 12:57 ` [PATCH v1 3/6] net/iavf/base: add VF Earliest TxTime First offload register Soumyadeep Hore
2026-12-04  8:09   ` Kumar, Rajesh
2026-12-04  8:17   ` Kumar, Rajesh
2026-12-02 12:57 ` [PATCH v1 4/6] net/intel/common: add Tx time queue field for iavf Soumyadeep Hore
2026-12-04  8:17   ` Kumar, Rajesh
2026-12-02 12:57 ` [PATCH v1 5/6] net/iavf: support Earliest TxTime First offload Soumyadeep Hore
2026-12-04 10:41   ` Kumar, Rajesh
2026-12-02 12:57 ` [PATCH v1 6/6] doc: add iavf " Soumyadeep Hore
2026-12-04  8:07   ` Kumar, Rajesh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.