mirror-linux/Documentation
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
..
ABI VFIO updates for v6.18-rc1 part 2 2025-10-08 11:22:27 -07:00
PCI pci-v6.18-changes 2025-10-06 10:41:03 -07:00
RCU RCU pull request for v6.18 2025-10-04 11:28:45 -07:00
accel
accounting docs: update delaytop documentation for new interactive features 2025-09-13 17:32:56 -07:00
admin-guide net: increase skb_defer_max default to 128 2025-11-07 19:02:40 -08:00
arch - Make TDX and kexec work together 2025-10-04 10:01:30 -07:00
block
bpf bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
cdrom
core-api dma-mapping updates for Linux 6.18: 2025-10-03 17:41:12 -07:00
cpu-freq cpufreq: Drop unused symbol CPUFREQ_ETERNAL 2025-10-01 13:57:22 +02:00
crypto crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
dev-tools It has been a relatively busy cycle in docsland, with changes all over: 2025-10-03 17:16:13 -07:00
devicetree dt-bindings: net: mediatek,net: Correct bindings for MT7981 2025-11-19 18:46:47 -08:00
doc-guide
driver-api dpll: add phase-adjust-gran pin attribute 2025-10-31 17:59:17 -07:00
edac
fault-injection
fb fbdev fixes & enhancements for 6.18-rc1: 2025-10-10 09:36:23 -07:00
features OpenRISC updates for 6.18 2025-10-05 10:02:54 -07:00
filesystems Ext4 bug fixes for 6.18-rc2, including 2025-10-15 07:51:57 -07:00
firmware-guide Documentation: ACPI: i2c-muxes: fix I2C device references 2025-11-03 17:01:05 +01:00
firmware_class
fpga
gpu drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
hid
hwmon hwmon: (cros_ec) register fans into thermal framework cooling devices 2025-09-25 08:08:14 -07:00
i2c i2c: i801: Add support for Intel Wildcat Lake-U 2025-09-28 00:45:53 +02:00
iio docs: iio: add documentation for ade9000 driver 2025-09-13 14:20:44 +01:00
images
infiniband
input Input: add INPUT_PROP_HAPTIC_TOUCHPAD 2025-09-15 14:32:54 +02:00
isdn
kbuild Kbuild updates for 6.18 2025-10-01 20:58:51 -07:00
kernel-hacking
leds
litmus-tests
livepatch
locking
maintainer docs: maintainer: Fix ambiguous subheading formatting 2025-09-18 10:26:45 -06:00
mhi
misc-devices
mm Only two patch series in this pull request: 2025-10-05 12:11:07 -07:00
netlabel
netlink devlink: support default values for param-get and param-set 2025-11-20 19:01:22 -08:00
networking net/mlx5: implement swp_l4_csum_mode via devlink params 2025-11-20 19:01:22 -08:00
nvdimm
nvme
pcmcia
peci
power It has been a relatively busy cycle in docsland, with changes all over: 2025-10-03 17:16:13 -07:00
process It has been a relatively busy cycle in docsland, with changes all over: 2025-10-03 17:16:13 -07:00
rust docs: rust: add section on imports formatting 2025-10-17 00:56:20 +02:00
scheduler
scsi
security
sound ASoC: doc: cs35l56: Update firmware filename description for B0 silicon 2025-11-03 13:09:14 +00:00
sphinx docs: remove cdomain.py 2025-09-21 16:35:57 -06:00
sphinx-static
spi
staging It has been a relatively busy cycle in docsland, with changes all over: 2025-10-03 17:16:13 -07:00
sunrpc/xdr
target
tee Documentation: tee: Add Qualcomm TEE driver 2025-09-15 17:34:06 +02:00
timers
tools tools/rtla: Add remaining support for osnoise actions 2025-09-27 04:53:48 -04:00
trace Documentation: trace: histogram: Convert ftrace docs cross-reference 2025-09-18 11:49:26 -06:00
translations More power management updates for 6.18-rc1 2025-10-07 09:39:51 -07:00
usb
userspace-api docs: netlink: Couple of intro-specs documentation fixes 2025-11-06 14:50:59 -08:00
virt KVM x86 fixes for 6.18: 2025-10-18 10:25:43 +02:00
w1 docs: w1: ds2482: fix typo in buses 2025-09-16 10:00:57 -06:00
watchdog
wmi
.gitignore
.renames.txt
Changes
CodingStyle
Kconfig
Makefile
SubmittingPatches
atomic_bitops.txt
atomic_t.txt
conf.py
docutils.conf
index.rst
memory-barriers.txt
subsystem-apis.rst