i40e Rx descriptor loads ordering
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
- v2 Latest2 patches 8 repliesApplied
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
Updated commit message. Performance impact added. (Honnappa)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net/i40e: fix risk in Rx descriptor read in NEON vector pathdrivers/ | +8 | 0 replies | |
| 2/2 | net/i40e: fix risk in Rx descriptor read in scalar pathdrivers/ | +12 | 7 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Honnappa Nagarahalli |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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