Skip to content

Commit 2efbe6a

Browse files
paravmellanoxdavem330
authored andcommitted
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>
1 parent a53cf94 commit 2efbe6a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎include/net/devlink.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ struct devlink_port_pci_vf_attrs {
7373
* @splittable: indicates if the port can be split.
7474
* @lanes: maximum number of lanes the port supports. 0 value is not passed to netlink.
7575
* @switch_id: if the port is part of switch, this is buffer with ID, otherwise this is NULL
76+
* @phys: physical port attributes
77+
* @pci_pf: PCI PF port attributes
78+
* @pci_vf: PCI VF port attributes
7679
*/
7780
struct devlink_port_attrs {
7881
u8 split:1,

0 commit comments

Comments
 (0)