mirror-linux/Documentation/networking/devlink
Daniel Zahka b11d358bf8 net/mlx5: implement swp_l4_csum_mode via devlink params
swp_l4_csum_mode controls how L4 transmit checksums are computed when
using Software Parser (SWP) hints for header locations.

Supported values:
  1. default: device will choose between full_csum or l4_only. Driver
     will discover the device's choice during initialization.
  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.

Note that 'default' might be returned from the device and passed to
userspace, and it might also be set during a
devlink_param::reset_default() call, but attempts to set a value of
default directly with param-set will be rejected.

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

Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20251119025038.651131-5-daniel.zahka@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-20 19:01:22 -08:00
..
am65-nuss-cpsw-switch.rst
bnxt.rst bnxt_en: Add devlink support for ENABLE_ROCE nvm parameter 2025-03-18 10:25:22 +01:00
devlink-dpipe.rst
devlink-eswitch-attr.rst devlink: Introduce switchdev_inactive eswitch mode 2025-11-11 13:17:53 +01:00
devlink-flash.rst
devlink-health.rst devlink: Make health reporter burst period configurable 2025-08-26 17:24:16 -07:00
devlink-info.rst ixgbe: add .info_get extension specific for E610 devices 2025-04-15 07:36:32 -07:00
devlink-linecard.rst
devlink-params.rst devlink: support default values for param-get and param-set 2025-11-20 19:01:22 -08:00
devlink-port.rst devlink: Extend devlink rate API with traffic classes bandwidth management 2025-07-02 15:39:05 -07:00
devlink-region.rst docs: networking: devlink: capitalise length value 2024-07-08 13:39:07 +01:00
devlink-reload.rst Documentation: devlink: extend reload-reinit description 2023-11-30 12:31:23 +01:00
devlink-resource.rst
devlink-selftests.rst devlink: introduce framework for selftests 2022-07-28 21:56:53 -07:00
devlink-trap.rst documentation: networking: devlink: Fix a typo in devlink-trap.rst 2025-05-14 18:51:58 -07:00
etas_es58x.rst Documentation: devlink: add devlink documentation for the etas_es58x driver 2022-12-12 11:39:13 +01:00
hns3.rst net: hns3: add support to query scc version by devlink info 2024-04-12 18:58:46 -07:00
i40e.rst i40e: support generic devlink param "max_mac_per_vf" 2025-11-06 12:57:31 -08:00
ice.rst ice: devlink PF MSI-X max and min parameter 2025-02-05 09:02:44 -08:00
index.rst net: stmmac: Add a devlink attribute to control timestamping mode 2025-10-28 15:34:35 +01:00
ionic.rst
iosm.rst
ixgbe.rst ixgbe: devlink: add devlink region support for E610 2025-04-29 15:13:44 -07:00
kvaser_pciefd.rst Documentation: devlink: add devlink documentation for the kvaser_pciefd driver 2025-07-25 17:55:46 +02:00
kvaser_usb.rst Documentation: devlink: add devlink documentation for the kvaser_usb driver 2025-07-25 18:01:22 +02:00
mlx4.rst
mlx5.rst net/mlx5: implement swp_l4_csum_mode via devlink params 2025-11-20 19:01:22 -08:00
mlxsw.rst mlxsw: core_linecards: Expose device PSID over device info 2022-07-26 13:56:36 -07:00
mv88e6xxx.rst
netdevsim.rst docs: netdevsim: fixe typo in netdevsim documentation 2025-07-01 17:38:50 -07:00
nfp.rst nfp: update devlink device info output 2024-04-12 11:40:09 +01:00
octeontx2.rst devlink: Add documentation for OcteonTx2 AF 2024-11-11 14:15:58 -08:00
prestera.rst Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
qed.rst
sfc.rst sfc: document devlink flash support 2025-02-11 17:12:17 -08:00
stmmac.rst net: stmmac: rename devlink parameter ts_coarse into phc_coarse_adj 2025-11-03 17:05:36 -08:00
ti-cpsw-switch.rst
zl3073x.rst dpll: zl3073x: Implement devlink flash callback 2025-09-15 08:08:39 -07:00