From: Anurag Mandal <anurag.mandal@intel.com>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com, anatoly.burakov@intel.com,
Anurag Mandal <anurag.mandal@intel.com>
Subject: [PATCH v2 0/4] net/ice: support outer checksum in vector Tx
Date: Mon, 31 Aug 2026 10:35:26 +0000 [thread overview]
Message-ID: <cover.1788171502.git.anurag.mandal@intel.com> (raw)
In-Reply-To: <cover.1787566677.git.anurag.mandal@intel.com>
V2-changes:
- Addressed Bruce Richardson's comments
- Put the MACLEN assignments on single lines.
- Only encode EIPLEN when an outer IP type (EIPT) was selected,
matching how iavf sets eip_len per protocol case.
- Returned success instead of a partially built context when
the tunnel type is not supported, so a half-completed
context descriptor can never be written.
- Recorded use_ctx and use_vec_entry in one place only. The
duplicate use_vec_entry assignment in ice_tx_queue_start() is
removed; ice_set_tx_function() runs before any queue is started
and now covers every queue, matching iavf. This also fixes DCF
queues, which never passed through ice_tx_queue_start() and so
never had use_vec_entry recorded.
- Declared .ctx_desc = true for the scalar path, which does emit
context descriptors, so it is not filtered out of path selection
when a context descriptor is requested. Matches IAVF_TX_DEFAULT.
- Folded the ctx_desc condition into the req_features initializer.
- Marked the new AVX2 and AVX-512 context Tx helpers
with __rte_always_inline so the compile-time offload flag
is folded, as for the existing ice_vtx()/ice_vtx1() helpers.
Added AVX2 and AVX-512 context descriptor Tx paths
for outer IPv4 and UDP checksum offloads,
avoiding scalar Tx fallback.
Anurag Mandal (4):
net/common: share Tx context descriptor flag
net/ice: add vector tunnel context encoding
net/ice: add AVX2 context descriptor Tx path
net/ice: add AVX-512 context descriptor Tx path
doc/guides/rel_notes/release_26_11.rst | 6 +
drivers/net/intel/common/tx.h | 2 +-
drivers/net/intel/ice/ice_dcf_ethdev.c | 4 +-
drivers/net/intel/ice/ice_ethdev.h | 2 +
drivers/net/intel/ice/ice_rxtx.c | 49 +++++--
drivers/net/intel/ice/ice_rxtx.h | 11 ++
drivers/net/intel/ice/ice_rxtx_vec_avx2.c | 119 +++++++++++++++++
drivers/net/intel/ice/ice_rxtx_vec_avx512.c | 141 ++++++++++++++++++++
drivers/net/intel/ice/ice_rxtx_vec_common.h | 53 +++++++-
9 files changed, 374 insertions(+), 13 deletions(-)
--
2.34.1
next prev parent reply other threads:[~2026-08-31 10:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 10:21 [PATCH 0/4] net/ice: support outer checksum in vector Tx Anurag Mandal
2026-08-24 10:21 ` [PATCH 1/4] net/common: share Tx context descriptor flag Anurag Mandal
2026-08-24 10:21 ` [PATCH 2/4] net/ice: add vector tunnel context encoding Anurag Mandal
2026-08-24 14:37 ` Bruce Richardson
2026-08-24 14:51 ` David Marchand
2026-08-24 14:57 ` Bruce Richardson
2026-08-24 10:21 ` [PATCH 3/4] net/ice: add AVX2 context descriptor Tx path Anurag Mandal
2026-08-24 14:47 ` Bruce Richardson
2026-08-31 10:47 ` Mandal, Anurag
2026-08-24 10:21 ` [PATCH 4/4] net/ice: add AVX-512 " Anurag Mandal
2026-08-31 10:35 ` Anurag Mandal [this message]
2026-08-31 10:35 ` [PATCH v2 1/4] net/common: share Tx context descriptor flag Anurag Mandal
2026-08-31 10:35 ` [PATCH v2 2/4] net/ice: add vector tunnel context encoding Anurag Mandal
2026-08-31 10:35 ` [PATCH v2 3/4] net/ice: add AVX2 context descriptor Tx path Anurag Mandal
2026-08-31 10:35 ` [PATCH v2 4/4] net/ice: add AVX-512 " Anurag Mandal
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=cover.1788171502.git.anurag.mandal@intel.com \
--to=anurag.mandal@intel.com \
--cc=anatoly.burakov@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 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.