Test-Label: intel-Testing Test-Status: FAILURE _Testing issues_ DPDK git repo: dpdk-next-net-intel commit 877fdf1d42c1e6bdd81046f7f5867f528f7effaa Author: Song Yoong Siang Date: Thu Dec 4 09:30:08 2025 +0800 net/e1000: fix allocation of context desc for launch time When the timestamp dynamic flag is set in the mbuf offload flags, force allocation of a new context descriptor. The launch time feature requires a dedicated context descriptor to specify the desired launch time for packet. Testing was performed on two Intel ADL-S platforms with i226 NICs connected back-to-back. A DPDK sample application is created to send two bursts of packets with 100,000 nanosecond burst interval. Each burst is having 5 UDP packets and only the first packet in the burst using launch time feature. Meanwhile, the tcpdump command below is used on the link partner to capture the delta of Rx hardware timestamp of the 10 packets: tcpdump -ttt -ni enp1s0 --time-stamp-precision=nano -j adapter_unsynced Without this patch, packets of second burst are transmitted immediately as the driver din't create context descriptor for the launch time, as shown in tcpdump log below: 00:00:00.000000000 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008381 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008387 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008381 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008387 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 With this patch, packets of second burst are properly held until the intended 100,000 nanosecond intervals, demonstrating correct launch time behavior. As shown in tcpdump log below, the delta of first packet between first and second bursts is 8387 + 8384 + 8384 + 8384 + 66461 = 100,000 nanosecond. 00:00:00.000000000 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008387 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000066461 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008387 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 00:00:00.000008384 IP 192.168.1.100.2 > 224.1.1.1.5: UDP, length 982 Fixes: 9630f7c71ecd ("net/igc: enable launch time offloading") Cc: stable@dpdk.org Signed-off-by: David Zage Signed-off-by: Song Yoong Siang Acked-by: Bruce Richardson Testing Summary : 18 Case Done, 17 Successful, 1 Failures TestPlan: pf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/pf_smoke_test_plan.rst vf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/vf_smoke_test_plan.rst virtio_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/virtio_smoke_test_plan.rst TestSuite: pf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_pf_smoke.py vf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_vf_smoke.py virtio_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_virtio_smoke.py OS : Ubuntu 24.04.3 LTS Kernel : 6.8.0-71-generic GCC : 13.3.0-6ubuntu2~24.04 NIC : Ethernet Controller XL710 for 40GbE QSFP+ Target : x86_64-native-linuxapp-gcc Test result details: +-------------+---------------------------+-------+ | suite | case | status| +-------------+---------------------------+-------+ | asan_smoke | test_rxtx_with_ASan_enable| passed| | pf_smoke | test_pf_jumbo_frames | passed| | pf_smoke | test_pf_rss | passed| | pf_smoke | test_pf_tx_rx_queue | passed| | vf_smoke | test_vf_rss | passed| | vf_smoke | test_vf_tx_rx_queue | passed| | vf_smoke | test_vf_jumbo_frames | n/a | | virtio_smoke| test_virtio_loopback | passed| | virtio_smoke| test_virtio_pvp | passed| +-------------+---------------------------+-------+ OS : Ubuntu 24.04.3 LTS Kernel : 6.8.0-87-generic GCC : 13.3.0-6ubuntu2~24.04 NIC : Ethernet Controller E810-C for SFP Target : x86_64-native-linuxapp-gcc Test result details: +-------------+---------------------------+-------+ | suite | case | status| +-------------+---------------------------+-------+ | asan_smoke | test_rxtx_with_ASan_enable| FAILED| | pf_smoke | test_pf_jumbo_frames | passed| | pf_smoke | test_pf_rss | passed| | pf_smoke | test_pf_tx_rx_queue | passed| | vf_smoke | test_vf_jumbo_frames | passed| | vf_smoke | test_vf_rss | passed| | vf_smoke | test_vf_tx_rx_queue | passed| | virtio_smoke| test_virtio_loopback | passed| | virtio_smoke| test_virtio_pvp | passed| +-------------+---------------------------+-------+ DPDK STV team