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>
This commit is contained in:
Parav Pandit 2020-09-09 07:50:34 +03:00 committed by David S. Miller
parent a53cf9497a
commit 2efbe6aebe
1 changed files with 3 additions and 0 deletions

View File

@ -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,