> -----Original Message-----
> From: netdev-ow...@vger.kernel.org <netdev-ow...@vger.kernel.org> On
> Behalf Of Parav Pandit
> Sent: Tuesday, July 2, 2019 12:00 AM
> To: netdev@vger.kernel.org
> Cc: Saeed Mahameed <sae...@mellanox.com>;
> jakub.kicin...@netronome.com; Jiri Pirko <j...@mellanox.com>; Parav Pandit
> <pa...@mellanox.com>
> Subject: [RESEND PATCH iproute2 net-next] devlink: Introduce PCI PF and VF
> port flavour and attribute
>
> 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
>
> Acked-by: Jiri Pirko <j...@mellanox.com>
> Signed-off-by: Parav Pandit <pa...@mellanox.com>
> ---
> devlink/devlink.c | 23 +++++++++++++++++++++++
> include/uapi/linux/devlink.h | 11 +++++++++++
> 2 files changed, 34 insertions(+)
>
I will resend this patch with updated kernel commit id for the uapi, possibly
once unrelated patch [1] is merged, just to avoid merge conflict.
[1] https://patchwork.ozlabs.org/patch/1129927/