Commit 2efbe6ae authored by Parav Pandit's avatar Parav Pandit Committed by David S. Miller

devlink: Add comment block for missing port attributes

Add comment block for physical, PF and VF port attributes.
Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
Reviewed-by: default avatarRoi Dayan <roid@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a53cf949
...@@ -73,6 +73,9 @@ struct devlink_port_pci_vf_attrs { ...@@ -73,6 +73,9 @@ struct devlink_port_pci_vf_attrs {
* @splittable: indicates if the port can be split. * @splittable: indicates if the port can be split.
* @lanes: maximum number of lanes the port supports. 0 value is not passed to netlink. * @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 * @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 { struct devlink_port_attrs {
u8 split:1, u8 split:1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment