On Tue, Jul 14, 2020 at 11:10:31AM +0300, Kamal Heib wrote: > 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. > > 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(-) > > -- > 2.25.4 > I found an issue while testing this patch set, I'll post a v1 that fixes this issue soon. Nacked-by: Kamal Heib <kamalheib1@xxxxxxxxx>