DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] net/idpf: fix split queue AVX2 datapath
@ 2026-05-11  9:09 Shaiq Wani
  2026-05-11  9:09 ` [PATCH 1/6] net/idpf: fix gen bit extraction in split queue AVX2 Rx Shaiq Wani
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Shaiq Wani @ 2026-05-11  9:09 UTC (permalink / raw)
  To: dev, bruce.richardson; +Cc: aman.deep.singh

Fix the split queue AVX2 vectorized path to correctly handle the
virtchnl2_rx_flex_desc_adv_nic_3 completion descriptor format and
the flex scheduled Tx descriptor encoding.

The split queue completion descriptor layout is significantly
different from the single queue path — the generation bit, DD bit,
and packet length occupy different positions than the base Rx
descriptor, and the buffer queue owns the mbuf pool rather than the
completion queue.

On Rx, four issues are fixed:
  - Generation bit extraction order (mask-before-shift)
  - DD bit byte offset (byte 8 not byte 1)
  - mbuf initializer sourced from bufq2 instead of the completion queue
  - Packet type inserted into the correct AVX2 lane

On Tx, two issues are fixed:
  - Buffer size shift corrected from 34 to 48 for flex descriptors
  - Burst clamped to tx_rs_thresh with proper tx_next_rs tracking

Shaiq Wani (6):
  net/idpf: fix gen bit extraction in split queue AVX2 Rx
  net/idpf: fix DD bit byte offset in split queue AVX2 Rx
  net/idpf: fix mbuf initializer source in split queue AVX2 Rx
  net/idpf: fix ptype insert position in split queue AVX2 Rx
  net/idpf: fix split queue AVX2 Tx buffer size shift
  net/idpf: fix split queue AVX2 Tx burst and completion

 .../net/intel/idpf/idpf_common_rxtx_avx2.c    | 72 +++++++++++--------
 1 file changed, 43 insertions(+), 29 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-05-20 12:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11  9:09 [PATCH 0/6] net/idpf: fix split queue AVX2 datapath Shaiq Wani
2026-05-11  9:09 ` [PATCH 1/6] net/idpf: fix gen bit extraction in split queue AVX2 Rx Shaiq Wani
2026-05-20 12:20   ` Bruce Richardson
2026-05-11  9:09 ` [PATCH 2/6] net/idpf: fix DD bit byte offset " Shaiq Wani
2026-05-20 12:21   ` Bruce Richardson
2026-05-11  9:09 ` [PATCH 3/6] net/idpf: fix mbuf initializer source " Shaiq Wani
2026-05-20 12:21   ` Bruce Richardson
2026-05-11  9:09 ` [PATCH 4/6] net/idpf: fix ptype insert position " Shaiq Wani
2026-05-20 12:22   ` Bruce Richardson
2026-05-11  9:09 ` [PATCH 5/6] net/idpf: fix split queue AVX2 Tx buffer size shift Shaiq Wani
2026-05-20 12:23   ` Bruce Richardson
2026-05-11  9:09 ` [PATCH 6/6] net/idpf: fix split queue AVX2 Tx burst and completion Shaiq Wani
2026-05-20 12:25   ` Bruce Richardson
2026-05-20 12:36 ` [PATCH 0/6] net/idpf: fix split queue AVX2 datapath Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox