From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Changelog: v0->v1: 1. RoCE GID locking scheme is simplified where gid table update routines always take mutex lock for all link layers and reader takes rw_lock. GID table entry property is updated under write lock. 2. query_gid is made optional routine and core optionally invoke it, if supported. Associated providers updated. 3. qedr driver is simplified to not implement add_gid, del_gid routines This resulted in addition of one more patch. 3rd patch helps to reduce gid_ref_cnt patch series to shorter by another 19 lines. Thanks, Parav Parav Pandit (7): RDMA/core: Update query_gid documentation for HCA drivers RDMA/providers: Simplify query_gid callback of RoCE providers IB/core: Simplify ib_query_gid to always refer to cache IB/core: Refactor GID modify code for RoCE IB/providers: Avoid zero GID check for RoCE IB/providers: Avoid null netdev check for RoCE RDMA: Use ib_gid_attr during GID modification drivers/infiniband/core/cache.c | 483 +++++++++++++------------ drivers/infiniband/core/device.c | 13 +- drivers/infiniband/core/sysfs.c | 18 +- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 15 +- drivers/infiniband/hw/bnxt_re/ib_verbs.h | 6 +- drivers/infiniband/hw/bnxt_re/main.c | 1 - drivers/infiniband/hw/hns/hns_roce_ah.c | 8 +- drivers/infiniband/hw/hns/hns_roce_main.c | 27 +- drivers/infiniband/hw/mlx4/ah.c | 10 +- drivers/infiniband/hw/mlx4/main.c | 50 +-- drivers/infiniband/hw/mlx4/qp.c | 4 +- drivers/infiniband/hw/mlx5/main.c | 19 +- drivers/infiniband/hw/ocrdma/ocrdma_ah.c | 8 +- drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 8 +- drivers/infiniband/hw/ocrdma/ocrdma_main.c | 1 - drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 18 - drivers/infiniband/hw/ocrdma/ocrdma_verbs.h | 2 - drivers/infiniband/hw/qedr/main.c | 1 - drivers/infiniband/hw/qedr/qedr_roce_cm.c | 16 +- drivers/infiniband/hw/qedr/verbs.c | 96 ++--- drivers/infiniband/hw/qedr/verbs.h | 1 - drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 31 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 27 +- include/rdma/ib_verbs.h | 42 ++- 24 files changed, 397 insertions(+), 508 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html