]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5e: Add hds-thresh query support via ethtool
authorNimrod Oren <noren@nvidia.com>
Tue, 17 Mar 2026 10:49:34 +0000 (12:49 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Mar 2026 00:57:17 +0000 (17:57 -0700)
commitd347b28c492e746c0db9439265e55a50a912e034
treead2d89afeb52d6fa056f92f481f22fdd89f708b4
parentc3f25894e3aeb69b34587dc56b9a1608174083b3
net/mlx5e: Add hds-thresh query support via ethtool

Add support for reporting HDS (Header-Data Split) threshold via
ethtool. When applicable, mlx5 hardware splits packets of all sizes with
no configurable threshold, so report both hds-thresh and hds-thresh-max
as 0 (i.e. always split regardless of size).

Signed-off-by: Nimrod Oren <noren@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260317104934.16124-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c