aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2020-09-09 07:50:34 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-09 14:19:55 -0700
commit2efbe6aebea00269425ac7de622d47c2a397a871 (patch)
treebdbb1fe0a9842f1d9bec6f264fd9d5a8af5c804e /include/net/devlink.h
parentnet/mlx5: E-switch, Read controller number from device (diff)
downloadlinux-dev-2efbe6aebea00269425ac7de622d47c2a397a871.tar.xz
linux-dev-2efbe6aebea00269425ac7de622d47c2a397a871.zip
devlink: Add comment block for missing port attributes
Add comment block for physical, PF and VF port attributes. Signed-off-by: Parav Pandit <parav@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/net/devlink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index 8f3c8a443238..3c7ba3e1f490 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -73,6 +73,9 @@ struct devlink_port_pci_vf_attrs {
* @splittable: indicates if the port can be split.
* @lanes: maximum number of lanes the port supports. 0 value is not passed to netlink.
* @switch_id: if the port is part of switch, this is buffer with ID, otherwise this is NULL
+ * @phys: physical port attributes
+ * @pci_pf: PCI PF port attributes
+ * @pci_vf: PCI VF port attributes
*/
struct devlink_port_attrs {
u8 split:1,