[PATCH v1 0/4] net/ice: fix Tx time on E830
Soumyadeep Hore
soumyadeep.hore at intel.com
Wed Dec 2 13:56:19 CET 2026
This series fixes the Tx time (send-on-timestamp) support of E830
added in 25.07, found while measuring the pacing precision on an
E830 100G port with a receiver timestamping every packet in hardware.
1. Stopping a Tx time queue while packets wait for their launch time
leaves the device Tx time engine stuck until a core reset, so Tx
time stays broken after quitting testpmd during txonly forwarding.
The queue is now drained before it is disabled.
2. The hardware compares a 19-bit timestamp, the half window ahead of
the current time is the future. A launch time further ahead, or a
packet without a launch time, was sent at a wrong time. Launch times
are now limited to 30 ms ahead and unscheduled packets are sent
immediately.
3. The launch timestamp was encoded from the nanoseconds within the
second, while the hardware compares the full PHC time, so packets
left up to milliseconds away from their launch time.
4. The launch time is rounded, not truncated, to the 128 ns resolution.
With these fixes, packets sent 10 us apart arrive with 99.2-99.8% of
the gaps within +-256 ns and a launch jitter of about 60 ns.
Soumyadeep Hore (4):
net/ice: fix Tx time queue stop with pending packets
net/ice: limit Tx time launch to hardware horizon
net/ice: fix Tx time launch timestamp encoding
net/ice: round Tx time launch to timestamp resolution
doc/guides/nics/ice.rst | 6 ++++
drivers/net/intel/ice/ice_rxtx.c | 61 +++++++++++++++++++++++++++++---
drivers/net/intel/ice/ice_rxtx.h | 7 ++++
3 files changed, 69 insertions(+), 5 deletions(-)
base-commit: ddb3b0c47d172d951b1b3660e8acd754a6a92eb0
--
2.43.0
More information about the stable
mailing list