mbox series

[rdma-next,v1,0/3] Skip holes in GID table

Message ID cover.1639055490.git.leonro@nvidia.com (mailing list archive)
Headers show
Series Skip holes in GID table | expand

Message

Leon Romanovsky Dec. 9, 2021, 1:16 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Changelog:
v1:
 * Removed variable assignment in rdma_query_gid
 * Changed special error code handling of return value from
   rdma_query_gid to continue search.
v0: https://lore.kernel.org/all/cover.1637581778.git.leonro@nvidia.com

---------------------------------------------------------------------

Hi,

This short series extends rdma_query_gid() callers to skip holes
in GID tables.

Thanks

Avihai Horon (3):
  RDMA/core: Modify rdma_query_gid() to return accurate error codes
  RDMA/core: Let ib_find_gid() continue search even after empty entry
  RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty
    entry

 drivers/infiniband/core/cache.c  | 12 +++++++++---
 drivers/infiniband/core/cma.c    | 12 +++++++++---
 drivers/infiniband/core/device.c |  3 ++-
 3 files changed, 20 insertions(+), 7 deletions(-)

Comments

Jason Gunthorpe Dec. 15, 2021, 12:12 a.m. UTC | #1
On Thu, Dec 09, 2021 at 03:16:04PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Changelog:
> v1:
>  * Removed variable assignment in rdma_query_gid
>  * Changed special error code handling of return value from
>    rdma_query_gid to continue search.
> v0: https://lore.kernel.org/all/cover.1637581778.git.leonro@nvidia.com
> 
> ---------------------------------------------------------------------
> 
> Hi,
> 
> This short series extends rdma_query_gid() callers to skip holes
> in GID tables.
> 
> Thanks
> 
> Avihai Horon (3):
>   RDMA/core: Modify rdma_query_gid() to return accurate error codes
>   RDMA/core: Let ib_find_gid() continue search even after empty entry
>   RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty
>     entry

Applied to for-next, thanks

Jason