Skip to content

Fix CN20K mbuf size truncation

Randy L Tice dpdk-dev 1 version Applied

Status from this message: Applied to dpdk-next-net-mrvl/for-main. Thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1drivers: fix CN20K mbuf size truncation.mailmap drivers/event/cnxk/cn20k_worker.h drivers/net/cnxk/cn20k_rx.h+5 -45 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchNithin Dabilpuram
1/1A-b

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

Read the v1 thread

Cover letter [PATCH 0/1] Fix CN20K mbuf size truncation

This small fix prepares the CN20K inline security receive paths for mbuf layouts larger than 255 bytes.

The affected code recovers a packet mbuf by subtracting the size of struct rte_mbuf from a pointer stored in completion metadata. Keeping that size in an 8-bit local variable makes the recovery sensitive to future mbuf layout growth. The patch widens the local size variable without changing the surrounding fast-path logic.

The issue was found while preparing an unrelated mbuf layout extension.

Randy L Tice (1):
drivers: fix CN20K mbuf size truncation

 .mailmap                          | 1 +
 drivers/event/cnxk/cn20k_worker.h | 4 ++--
 drivers/net/cnxk/cn20k_rx.h       | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
2.35.6