]> git.karo-electronics.de Git - linux-beck.git/commit
IB/Verbs: Implement new callback query_protocol()
authorMichael Wang <yun.wang@profitbricks.com>
Tue, 5 May 2015 12:50:18 +0000 (14:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:03 +0000 (13:35 -0400)
commit6b90a6d66b17bfe09351e18c705cb4a2ed147300
tree3bfd620d7315e05669ffd8e770a022b784f8e2c4
parente26081808edadfd257c6c9d81014e3b25e9a6118
IB/Verbs: Implement new callback query_protocol()

Add new callback query_protocol() and implement for each HW.

Mapping List:
node-type link-layer transport protocol
nes RNIC ETH IWARP IWARP
amso1100 RNIC ETH IWARP IWARP
cxgb3    RNIC ETH IWARP IWARP
cxgb4    RNIC ETH IWARP IWARP
usnic    USNIC_UDP ETH USNIC_UDP USNIC_UDP
ocrdma   IB_CA ETH IB IBOE
mlx4     IB_CA IB/ETH IB IB/IBOE
mlx5     IB_CA IB IB IB
ehca     IB_CA IB IB IB
ipath    IB_CA IB IB IB
mthca    IB_CA IB IB IB
qib      IB_CA IB IB IB

Signed-off-by: Michael Wang <yun.wang@profitbricks.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Tested-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
20 files changed:
drivers/infiniband/core/device.c
drivers/infiniband/hw/amso1100/c2_provider.c
drivers/infiniband/hw/cxgb3/iwch_provider.c
drivers/infiniband/hw/cxgb4/provider.c
drivers/infiniband/hw/ehca/ehca_hca.c
drivers/infiniband/hw/ehca/ehca_iverbs.h
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ipath/ipath_verbs.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mthca/mthca_provider.c
drivers/infiniband/hw/nes/nes_verbs.c
drivers/infiniband/hw/ocrdma/ocrdma_main.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
drivers/infiniband/hw/qib/qib_verbs.c
drivers/infiniband/hw/usnic/usnic_ib_main.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.h
include/rdma/ib_verbs.h