Re: [PATCH rdma-next v3 0/4] Query GID table API

2020-10-01 Thread Jason Gunthorpe
On Wed, Sep 23, 2020 at 07:50:11PM +0300, Leon Romanovsky wrote: > When an application is not using RDMA CM and if it is using multiple RDMA > devices with one or more RoCE ports, finding the right GID table entry is > a long process. > > For example, with two RoCE dual-port devices in a system,

[PATCH rdma-next v3 0/4] Query GID table API

2020-09-23 Thread Leon Romanovsky
From: Leon Romanovsky Changelog: v3: * Returned back port validity check, because we are using port number to check protocol type. * Removed check that interface is up from rdma_read_gid_attr_ndev_rcu(), without it, this API behaved differently from sysfs by not showing GIDs for interfaces