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

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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,