]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Add device cap abs_native_port_num
authorRongwei Liu <rongweil@nvidia.com>
Thu, 12 Dec 2024 22:13:20 +0000 (00:13 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 16 Dec 2024 07:29:16 +0000 (02:29 -0500)
commitaeb3ec99026979287266e4b5a1194789c1488c1a
treeed8683e8ec8500b165861d4ec1d9a20c72f76d44
parentf09ed834a946f9c77088d53af4d4806974728d7b
net/mlx5: Add device cap abs_native_port_num

When the abs_native_port_num is set, the native_port_num reported
by the device may not be continuous and bigger than the num_lag_ports.

Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241212221329.961628-2-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/mlx5_ifc.h