]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Change eth_proto parameter naming
authorShahar Shitrit <shshitrit@nvidia.com>
Wed, 19 Feb 2025 11:41:11 +0000 (13:41 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Feb 2025 01:36:09 +0000 (17:36 -0800)
commit9ca3bf013a0ef885fcafd71f68c4abf40cf8b123
treeec7f7a3845dc4e9e9a7369edf11c55ac0a8f71a0
parent64d97f891961a0fa249f6730102cb7c1501f8532
net/mlx5e: Change eth_proto parameter naming

eth_proto_cap parameter represents the supported link modes,
while eth_proto_admin refers to the configured ones.

The function get_advertising() retrieves the configured link
modes, thus we update its parameter name to eth_proto_admin.

Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250219114112.403808-5-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c