[PATCH v2] net/cnxk: fix of NIX send header L3 type

Jerin Jacob jerinj at marvell.com
Tue Feb 4 18:00:04 CET 2025



> -----Original Message-----
> From: Rahul Bhansali <rbhansali at marvell.com>
> Sent: Thursday, January 30, 2025 5:25 PM
> To: dev at dpdk.org; Nithin Kumar Dabilpuram <ndabilpuram at marvell.com>;
> Kiran Kumar Kokkilagadda <kirankumark at marvell.com>; Sunil Kumar Kori
> <skori at marvell.com>; Satha Koteswara Rao Kottidi
> <skoteshwar at marvell.com>; Harman Kalra <hkalra at marvell.com>; Pavan
> Nikhilesh Bhagavatula <pbhagavatula at marvell.com>; Jerin Jacob
> <jerinj at marvell.com>; Rahul Bhansali <rbhansali at marvell.com>
> Subject: [PATCH v2] net/cnxk: fix of NIX send header L3 type
> 
> For small packets less than 55 bytes, SQ error interrupts are observed.
> When checksum offload flag is enabled and mbuf ol_flags are not set, then
> default L3 type will be set to IPv6 in vector processing. Based on this, HW will
> still validate for minimum header size and generate send header error if
> mismatch.
> 
> To address this, will set default L3 type to none. Mbuf ol_flags
> RTE_MBUF_F_TX_IPV6 will set with offload feature TSO or L4 checksum only, so
> handled in corresponding routine.
> 
> Fixes: f71b7dbbf04b ("net/cnxk: add vector Tx for CN10K")
> Fixes: e829e60c6917 ("net/cnxk: support Tx burst vector for CN20K")
> Fixes: 862e28128707 ("net/cnxk: add vector Tx for CN9K")
> 
> Signed-off-by: Rahul Bhansali <rbhansali at marvell.com>

Applied to dpdk-next-net-mrvl/for-main. Thanks


More information about the dev mailing list