[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM0PR05MB4866313BD7B8FF909969D455D1F10@AM0PR05MB4866.eurprd05.prod.outlook.com>
Date: Tue, 9 Jul 2019 19:49:09 +0000
From: Parav Pandit <parav@...lanox.com>
To: Parav Pandit <parav@...lanox.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: Saeed Mahameed <saeedm@...lanox.com>,
"jakub.kicinski@...ronome.com" <jakub.kicinski@...ronome.com>,
Jiri Pirko <jiri@...lanox.com>
Subject: RE: [RESEND PATCH iproute2 net-next] devlink: Introduce PCI PF and VF
port flavour and attribute
> -----Original Message-----
> From: netdev-owner@...r.kernel.org <netdev-owner@...r.kernel.org> On
> Behalf Of Parav Pandit
> Sent: Tuesday, July 2, 2019 12:00 AM
> To: netdev@...r.kernel.org
> Cc: Saeed Mahameed <saeedm@...lanox.com>;
> jakub.kicinski@...ronome.com; Jiri Pirko <jiri@...lanox.com>; Parav Pandit
> <parav@...lanox.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 <jiri@...lanox.com>
> Signed-off-by: Parav Pandit <parav@...lanox.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/
Powered by blists - more mailing lists