Fix CN20K mbuf size truncation
Status from this message: Applied to dpdk-next-net-mrvl/for-main. Thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | drivers: fix CN20K mbuf size truncation.mailmap drivers/ drivers/ | +5 | 5 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Nithin Dabilpuram |
|---|---|
| 1/1 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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