Re: [PATCH net-next v3 2/2] net/mlx5: implement swp_l4_csum_mode via devlink params

From
Jiri Pirko <jiri@resnulli.us>
Date
2025-11-09 10:39:56
Also in
intel-wired-lan, linux-doc, linux-omap, linux-rdma
Reply to
Daniel Zahka, 2025-11-07
Fri, Nov 07, 2025 at 09:43:46PM +0100, daniel.zahka@gmail.com wrote:
swp_l4_csum_mode controls how L4 transmit checksums are computed when
using Software Parser (SWP) hints for header locations.

Supported values:
 1. device_default: use device default setting.
 2. full_csum: calculate L4 checksum with the pseudo-header.
 3. l4_only: calculate L4 checksum without the pseudo-header. Only
    available when swp_l4_csum_mode_l4_only is set in
    mlx5_ifc_nv_sw_offload_cap_bits.

The l4_only setting is a dependency for PSP initialization in
mlx5e_psp_init().

Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Daniel, I asked twice if this could be a non-driver param. Jakub asked
for clearer definition of this know in that context.

Not sure why you are ignoring this :/
Thread (20 messages) 20 messages, 4 authors, last reply 2025-11-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help