]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Update pfnum retrieval for devlink port attributes
authorShay Drory <shayd@nvidia.com>
Wed, 19 Mar 2025 14:03:01 +0000 (16:03 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 14:29:47 +0000 (07:29 -0700)
commit91e7398e0603a8b9b028cd53ce3170c8ceef54f0
treeae486ac68b5370f398574bbad3f9840d09db05b8
parentade4794fe8934e9c277ef50acb11db9e68cbea7c
net/mlx5: Update pfnum retrieval for devlink port attributes

Align mlx5 driver usage of 'pfnum' with the documentation clarification
introduced in commit bb70b0d48d8e ("devlink: Improve the port attributes
description").

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1742392983-153050-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c