[PATCH rdma-next 01/18] RDMA/core: Introduce ib_device_ops

2018-10-09 Thread Kamal Heib
This change introduce the ib_device_ops structure that defines all the InfiniBand device operations, providers will need to define the supported operations and assigning them using ib_set_device_ops(). Signed-off-by: Kamal Heib --- drivers/infiniband/core/device.c | 98

[PATCH rdma-next 00/18] RDMA: Add support for ib_device_ops

2018-10-09 Thread Kamal Heib
This patchset introduce a new structure that will contain all the infiniband device operations, the structure will be used by the providers to initialize their supported operations. This patchset also includes the required changes in the core and ulps to start using it. Thanks, Kamal Kamal Heib

[PATCH rdma-next 08/18] RDMA/mlx4: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/mlx4/main.c | 94 +++ 1 file changed, 94 insertions(+) diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index

[PATCH rdma-next 07/18] RDMA/i40iw: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/i40iw/i40iw_verbs.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/infiniband/hw/i40iw/i40iw_verbs.c b/drivers/infiniband/hw/i40iw

[PATCH rdma-next 17/18] RDMA/rxe: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/sw/rxe/rxe_verbs.c | 48 +++ 1 file changed, 48 insertions(+) diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c

[PATCH rdma-next 14/18] RDMA/qib: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/qib/qib_verbs.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/infiniband/hw/qib/qib_verbs.c b/drivers/infiniband/hw/qib/qib_verbs.c index 8a45964c4700..8fe2519e34d9

[PATCH rdma-next 15/18] RDMA/usnic: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/usnic/usnic_ib_main.c | 32 + 1 file changed, 32 insertions(+) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_main.c b/drivers/infiniband/hw/usnic

[PATCH rdma-next 18/18] RDMA: Start use ib_device_ops

2018-10-09 Thread Kamal Heib
This change makes all the required change to start use the ib_device_ops structure. Signed-off-by: Kamal Heib --- drivers/infiniband/core/cache.c| 12 +- drivers/infiniband/core/core_priv.h| 12 +- drivers/infiniband/core/cq.c | 6

[PATCH rdma-next 16/18] RDMA/vmw_pvrdma: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c b/drivers/infiniband/hw/vmw_pvrdma

[PATCH rdma-next 12/18] RDMA/ocrdma: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/ocrdma/ocrdma_main.c | 47 ++ 1 file changed, 47 insertions(+) diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_main.c b/drivers/infiniband/hw/ocrdma

[PATCH rdma-next 13/18] RDMA/qedr: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/qedr/main.c | 52 +++ 1 file changed, 52 insertions(+) diff --git a/drivers/infiniband/hw/qedr/main.c b/drivers/infiniband/hw/qedr/main.c index

[PATCH rdma-next 09/18] RDMA/mlx5: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/mlx5/main.c | 126 +- 1 file changed, 125 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5

[PATCH rdma-next 10/18] RDMA/mthca: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/mthca/mthca_provider.c | 97 ++-- 1 file changed, 93 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband

[PATCH rdma-next 11/18] RDMA/nes: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/nes/nes_verbs.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c

[PATCH rdma-next 05/18] RDMA/hfi1: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/hfi1/verbs.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/infiniband/hw/hfi1/verbs.c b/drivers/infiniband/hw/hfi1/verbs.c index bc7f00ba1988..c63f331dbf7a

[PATCH rdma-next 04/18] RDMA/cxgb4: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/cxgb4/provider.c | 39 ++ 1 file changed, 39 insertions(+) diff --git a/drivers/infiniband/hw/cxgb4/provider.c b/drivers/infiniband/hw/cxgb4/provider.c

[PATCH rdma-next 06/18] RDMA/hns: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/hns/hns_roce_device.h | 1 + drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 11 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 11 drivers/infiniband/hw/hns

[PATCH rdma-next 02/18] RDMA/bnxt_re: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/bnxt_re/main.c | 45 1 file changed, 45 insertions(+) diff --git a/drivers/infiniband/hw/bnxt_re/main.c b/drivers/infiniband/hw/bnxt_re/main.c index

[PATCH rdma-next 03/18] RDMA/cxgb3: Initialize ib_device_ops struct

2018-10-09 Thread Kamal Heib
Initialize ib_device_ops with the supported operations. Signed-off-by: Kamal Heib --- drivers/infiniband/hw/cxgb3/iwch_provider.c | 34 + 1 file changed, 34 insertions(+) diff --git a/drivers/infiniband/hw/cxgb3/iwch_provider.c b/drivers/infiniband/hw/cxgb3

Re: [PATCH rdma-next 00/18] RDMA: Add support for ib_device_ops

2018-10-09 Thread Kamal Heib
On Tue, Oct 09, 2018 at 02:31:27PM -0400, Doug Ledford wrote: > On Tue, 2018-10-09 at 19:27 +0300, Kamal Heib wrote: > > This patchset introduce a new structure that will contain all the > > infiniband device operations, the structure will be used by the > > providers to initi