提交 ff03e63a 编写于 作者: P Parav Pandit 提交者: David S. Miller

devlink: Move structure comments outside of structure

To add more fields to the PCI PF and VF port attributes, follow standard
structure comment format.
Signed-off-by: NParav Pandit <parav@nvidia.com>
Reviewed-by: NJiri Pirko <jiri@nvidia.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2efbe6ae
......@@ -57,13 +57,22 @@ struct devlink_port_phys_attrs {
u32 split_subport_number; /* If the port is split, this is the number of subport. */
};
/**
* struct devlink_port_pci_pf_attrs - devlink port's PCI PF attributes
* @pf: Associated PCI PF number for this port.
*/
struct devlink_port_pci_pf_attrs {
u16 pf; /* Associated PCI PF for this port. */
u16 pf;
};
/**
* struct devlink_port_pci_vf_attrs - devlink port's PCI VF attributes
* @pf: Associated PCI PF number for this port.
* @vf: Associated PCI VF for of the PCI PF for this port.
*/
struct devlink_port_pci_vf_attrs {
u16 pf; /* Associated PCI PF for this port. */
u16 vf; /* Associated PCI VF for of the PCI PF for this port. */
u16 pf;
u16 vf;
};
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册