Skip to content

i40e Rx descriptor loads ordering

Ruifeng Wang dpdk-dev 2 versions – Applied

Status from this message: Applied to dpdk-next-net-intel.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 8 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Updated commit message. Performance impact added. (Honnappa)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2net/i40e: fix risk in Rx descriptor read in NEON vector pathdrivers/net/i40e/i40e_rxtx_vec_neon.c+8 -00 replies
2/2net/i40e: fix risk in Rx descriptor read in scalar pathdrivers/net/i40e/i40e_rxtx.c+12 -07 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHonnappa Nagarahalli
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/2] i40e Rx descriptor loads ordering

On Rx path, NIC fills Rx descriptor with data pertains to received packet.

A single descriptor consists of multiple words. Word1 has the bit that indicates readiness of descriptor for software to use. So word1 should be loaded before other words.

On architectures with weaker memory ordering, barrier is needed to ensure the ordering of loads.

This patch set fixed the risk on both scalar path and aarch64 vector path.

v2:
Updated commit message. Performance impact added. (Honnappa)

Ruifeng Wang (2):
net/i40e: fix risk in Rx descriptor read in NEON vector path net/i40e: fix risk in Rx descriptor read in scalar path

 drivers/net/i40e/i40e_rxtx.c          | 12 ++++++++++++
 drivers/net/i40e/i40e_rxtx_vec_neon.c |  8 ++++++++
 2 files changed, 20 insertions(+)
Signature · 1 line
2.25.1