Skip to content

RDMA: Remove query_pkey from iwarp providers

Kamal Heib linux-rdma 1 version Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7RDMA/core: Expose pkeys sysfs files only if pkey_tbl_len is setdrivers/infiniband/core/sysfs.c+44 -200 replies
2/7RDMA/core: Allocate the pkey cache only if the pkey_tbl_len is setdrivers/infiniband/core/cache.c+29 -160 replies
3/7RDMA/core: Remove query_pkey from the mandatory opsdrivers/infiniband/core/device.c+3 -10 replies
4/7RDMA/siw: Remove the query_pkey callbackdrivers/infiniband/sw/siw/siw_main.c drivers/infiniband/sw/siw/siw_verbs.c drivers/infiniband/sw/siw/siw_verbs.h+0 -111 reply
5/7RDMA/cxgb4: Remove the query_pkey callbackdrivers/infiniband/hw/cxgb4/provider.c+0 -110 replies
6/7RDMA/i40iw: Remove the query_pkey callbackdrivers/infiniband/hw/i40iw/i40iw_verbs.c+0 -190 replies
7/7RDMA/qedr: Remove the query_pkey callbackdrivers/infiniband/hw/qedr/main.c drivers/infiniband/hw/qedr/verbs.c+1 -30 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichal KalderonShiraz SaleemBernard Metzler
SeriesA-b
1/7
2/7
3/7
4/7A-b
5/7
6/7
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH for-next v1 0/7] RDMA: Remove query_pkey from iwarp providers

This patch set does the following:
1- Avoid exposing the pkeys sysfs entries for iwarp providers. 2- Avoid allocating the pkey cache for iwarp providers.
3- Remove the requirement by RDMA core to implement query_pkey
by all providers.
4- Remove the implementation of query_pkey callback from iwarp providers.

v1: Patch #1: Move the free of the pkey_group to the right place.

Kamal Heib (7):
RDMA/core: Expose pkeys sysfs files only if pkey_tbl_len is set RDMA/core: Allocate the pkey cache only if the pkey_tbl_len is set RDMA/core: Remove query_pkey from the mandatory ops RDMA/siw: Remove the query_pkey callback
RDMA/cxgb4: Remove the query_pkey callback
RDMA/i40iw: Remove the query_pkey callback
RDMA/qedr: Remove the query_pkey callback

 drivers/infiniband/core/cache.c           | 45 ++++++++++------
 drivers/infiniband/core/device.c          |  4 +-
 drivers/infiniband/core/sysfs.c           | 64 ++++++++++++++++-------
 drivers/infiniband/hw/cxgb4/provider.c    | 11 ----
 drivers/infiniband/hw/i40iw/i40iw_verbs.c | 19 -------
 drivers/infiniband/hw/qedr/main.c         |  3 +-
 drivers/infiniband/hw/qedr/verbs.c        |  1 -
 drivers/infiniband/sw/siw/siw_main.c      |  1 -
 drivers/infiniband/sw/siw/siw_verbs.c     |  9 ----
 drivers/infiniband/sw/siw/siw_verbs.h     |  1 -
 10 files changed, 77 insertions(+), 81 deletions(-)
Signature · 1 line
2.25.4