On 7/10/19 6:39 AM, Parav Pandit wrote: > Introduce PCI PF and VF port flavour and port attributes such as PF > number and VF number. > > $ devlink port show > pci/0000:05:00.0/0: type eth netdev eth0 flavour pcipf pfnum 0 > pci/0000:05:00.0/1: type eth netdev eth1 flavour pcivf pfnum 0 vfnum 0 > pci/0000:05:00.0/2: type eth netdev eth2 flavour pcivf pfnum 0 vfnum 1 > > Signed-off-by: Parav Pandit <pa...@mellanox.com> > --- > Changelog: > v1->v2: > - Instead of if-else using switch-case. > - Split patch to two patches to have kernel header update in dedicated > patch. > --- > devlink/devlink.c | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) >
applied to iproute2-next. Thanks