public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
From: Shaiq Wani <shaiq.wani@intel.com>
To: dev@dpdk.org, bruce.richardson@intel.com, aman.deep.singh@intel.com
Subject: [PATCH v14 0/3] net/idpf: enable AVX2 for split queue Rx/Tx
Date: Thu, 26 Feb 2026 15:12:19 +0530	[thread overview]
Message-ID: <20260226094222.1393288-1-shaiq.wani@intel.com> (raw)
In-Reply-To: <20250917052658.582872-1-shaiq.wani@intel.com>

In case some CPUs don't support AVX512. Enable AVX2 for them to
get better per-core performance.

In the single queue model, the same descriptor queue is used by SW
to post descriptors to the device and used by device to report completed
descriptors to SW. While as the split queue model separates them into
different queues for parallel processing and improved performance.

v14:
*rebased on latest next-net-intel.

v13:
*reworked the recv_pkts() function.
- the driver datapath can now receive any number
- of packets available not just multiples of 4.

v12:
*Addressed AI generated comments.
*Rebased on latest next-net-intel tree.
*Included a release note entry.


v11:
*Fixed indentation issues.

v10:
*Changed desc reading style in Rx path.

v9:
*Some minor fixes.

v8:
*Reworked the receive func to avoid race conditions in Rx path.
*Removed unnecessary compiler barriers.

v7:
*Removed (char) casts, ifdef block as suggested.
*Fixed indentation, line wrapping.
*Did blind write of data to avoid branching.
*changed desc building and writing  order for Tx.

v6:
*used single load/store in splitq_recv_pkts function.
*removed x86-specific intrinsics from common code.

v5:
*Fixed CI errors.
*Used defined constants instead of numbers.

v4:
*moved splitq_rearm_common to a common location.
*reduced duplication of code.
*fixed splitq_recv_pkts function.

v3:
*Fixed some indentation issues.
*Collapsed wrapper and core function into one.
*Fixed some pointer casting and naming inconsistency issues.

v2:
*Fixed CI build related issues.
*Rebased on top of idpf/cpfl rx path selection simplication patch.


Shaiq Wani (3):
  net/idpf: enable AVX2 for split queue Rx
  net/idpf: enable AVX2 for split queue Tx
  doc: add note on unsupported completion queue sharing

 doc/guides/nics/idpf.rst                      |   5 +
 doc/guides/rel_notes/release_26_03.rst        |   4 +
 drivers/net/intel/idpf/idpf_common_device.h   |   2 +
 drivers/net/intel/idpf/idpf_common_rxtx.c     |  67 ++++
 drivers/net/intel/idpf/idpf_common_rxtx.h     |   8 +
 .../net/intel/idpf/idpf_common_rxtx_avx2.c    | 324 ++++++++++++++++++
 .../net/intel/idpf/idpf_common_rxtx_avx512.c  |  56 ---
 7 files changed, 410 insertions(+), 56 deletions(-)

-- 
2.34.1


  parent reply	other threads:[~2026-02-26  9:45 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-17  5:26 [PATCH 0/2] net/idpf: enable AVX2 for split queue Rx/Tx Shaiq Wani
2025-09-17  5:26 ` [PATCH 1/2] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2025-09-17  5:26 ` [PATCH 2/2] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2025-09-17  9:51 ` [PATCH 0/2] net/idpf: enable AVX2 for split queue Rx/Tx Bruce Richardson
2025-10-17 10:34 ` [PATCH v7 0/3] " Shaiq Wani
2025-10-17 10:34   ` [PATCH v7 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2025-10-17 10:34   ` [PATCH v7 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2025-10-17 10:34   ` [PATCH v7 3/3] doc: note on unsupported completion queue sharing Shaiq Wani
2025-10-27  8:07 ` [PATCH v7 0/3] net/idpf: enable AVX2 for split queue Rx/Tx Shaiq Wani
2025-10-27  8:07   ` [PATCH v8 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2025-10-27  8:07   ` [PATCH v8 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2025-10-27  8:07   ` [PATCH v8 3/3] doc: note on unsupported completion queue sharing Shaiq Wani
2025-10-28  5:29 ` [PATCH v9 0/3] net/idpf: enable AVX2 for split queue Rx/Tx Shaiq Wani
2025-10-28  5:29   ` [PATCH v9 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2025-10-28  5:29   ` [PATCH v9 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2025-10-28  5:29   ` [PATCH v9 3/3] doc: note on unsupported completion queue sharing Shaiq Wani
2025-10-28 14:21 ` [PATCH v9 0/3] net/idpf: enable AVX2 for split queue Rx/Tx Shaiq Wani
2025-10-28 14:22   ` [PATCH v10 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2025-12-11 12:53     ` Bruce Richardson
2025-10-28 14:22   ` [PATCH v10 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2025-10-28 14:22   ` [PATCH v10 3/3] doc: note on unsupported completion queue sharing Shaiq Wani
2025-12-11 13:00     ` Bruce Richardson
2026-01-05  6:22 ` [PATCH v11 0/3] net/idpf: enable AVX2 for split queue Rx/Tx Shaiq Wani
2026-01-05  6:22   ` [PATCH v11 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2026-01-05  6:22   ` [PATCH v11 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2026-01-05  6:22   ` [PATCH v11 3/3] doc: note on unsupported completion queue sharing Shaiq Wani
2026-01-13 18:13   ` [PATCH v11 0/3] net/idpf: enable AVX2 for split queue Rx/Tx Stephen Hemminger
2026-01-26 17:14   ` Bruce Richardson
2026-02-24  7:47 ` [PATCH v12 " Shaiq Wani
2026-02-24  7:47   ` [PATCH v12 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2026-02-24 14:27     ` Bruce Richardson
2026-02-24  7:47   ` [PATCH v12 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2026-02-24  7:47   ` [PATCH v12 3/3] doc: add note on unsupported completion queue sharing Shaiq Wani
2026-02-26  6:52 ` [PATCH v13 0/3] net/idpf: enable AVX2 for split queue Rx/Tx Shaiq Wani
2026-02-26  6:52   ` [PATCH v13 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2026-02-26  6:52   ` [PATCH v13 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2026-02-26  6:52   ` [PATCH v13 3/3] doc: add note on unsupported completion queue sharing Shaiq Wani
2026-02-26  9:42 ` Shaiq Wani [this message]
2026-02-26  9:42   ` [PATCH v14 1/3] net/idpf: enable AVX2 for split queue Rx Shaiq Wani
2026-02-26  9:42   ` [PATCH v14 2/3] net/idpf: enable AVX2 for split queue Tx Shaiq Wani
2026-02-26  9:42   ` [PATCH v14 3/3] doc: add note on unsupported completion queue sharing Shaiq Wani
2026-02-26 11:31   ` [PATCH v14 0/3] net/idpf: enable AVX2 for split queue Rx/Tx Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260226094222.1393288-1-shaiq.wani@intel.com \
    --to=shaiq.wani@intel.com \
    --cc=aman.deep.singh@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox