]> www.infradead.org Git - users/hch/misc.git/commit
devlink: Improve the port attributes description
authorParav Pandit <parav@nvidia.com>
Tue, 24 Dec 2024 18:37:06 +0000 (20:37 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 3 Jan 2025 01:10:57 +0000 (17:10 -0800)
commitbb70b0d48d8eab20644ca0101fedfe23f8a26c59
tree3921b7ef7ea90bc80da6376bf1a9b6083da24487
parentbe16b46f9ebd3270a4c4da81e5d7bb34b6f43384
devlink: Improve the port attributes description

Current PF number description is vague, sometimes interpreted as
some PF index. VF number in the PCI specification starts at 1; however
in kernel, it starts at 0 for representor model.

Improve the description of devlink port attributes PF, VF and SF
numbers with these details.

Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Parav Pandit <parav@nvidia.com>
Link: https://patch.msgid.link/20241224183706.26571-1-parav@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/devlink.h
net/devlink/port.c