[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0e99c61b-ee89-a2cb-6f7a-b0ab5d06249c@gmail.com>
Date: Thu, 21 Nov 2019 17:54:30 -0700
From: David Ahern <dsahern@...il.com>
To: Leon Romanovsky <leon@...nel.org>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...lanox.com>,
"David S . Miller" <davem@...emloft.net>
Cc: Leon Romanovsky <leonro@...lanox.com>,
RDMA mailing list <linux-rdma@...r.kernel.org>,
Danit Goldberg <danitg@...lanox.com>,
linux-netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH rdma-next 1/4] net/core: Add support for getting VF GUIDs
On 11/14/19 6:31 AM, Leon Romanovsky wrote:
> From: Danit Goldberg <danitg@...lanox.com>
>
>
> Introduce a new ndo: ndo_get_vf_guid, to get from the net
> device the port and node GUID.
>
> New applications can choose to use this interface to show
> GUIDs with iproute2 with commands such as:
>
> - ip link show ib4
> ib4: <BROADCAST,MULTICAST> mtu 4092 qdisc noop state DOWN mode DEFAULT group default qlen 256
> link/infiniband 00:00:0a:2d:fe:80:00:00:00:00:00:00:ec:0d:9a:03:00:44:36:8d brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
> vf 0 link/infiniband 00:00:0a:2d:fe:80:00:00:00:00:00:00:ec:0d:9a:03:00:44:36:8d brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff,
> spoof checking off, NODE_GUID 22:44:33:00:33:11:00:33, PORT_GUID 10:21:33:12:00:11:22:10, link-state disable, trust off, query_rss off
>
> Signed-off-by: Danit Goldberg <danitg@...lanox.com>
> Signed-off-by: Leon Romanovsky <leonro@...lanox.com>
> ---
> include/linux/netdevice.h | 4 ++++
> net/core/rtnetlink.c | 11 +++++++++++
> 2 files changed, 15 insertions(+)
>
LGTM
Acked-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists