summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_ruc.c
diff options
context:
space:
mode:
authorHaggai Eran2015-10-06 16:56:00 +0200
committerDoug Ledford2015-10-06 20:25:16 +0200
commitb8cab5dab15ff5c2acc3faefdde28919b0341c11 (patch)
tree09d2c8ca6eda6c96a59cb0cff430a1b2e38ba292 /drivers/infiniband/hw/qib/qib_ruc.c
parentxprtrdma: Don't require LOCAL_DMA_LKEY support for fastreg (diff)
downloadkernel-qcow2-linux-b8cab5dab15ff5c2acc3faefdde28919b0341c11.tar.gz
kernel-qcow2-linux-b8cab5dab15ff5c2acc3faefdde28919b0341c11.tar.xz
kernel-qcow2-linux-b8cab5dab15ff5c2acc3faefdde28919b0341c11.zip
IB/cma: Accept connection without a valid netdev on RoCE
The netdev checks recently added to RDMA CM expect a valid netdev to be found for both InfiniBand and RoCE, but the code that find a netdev is only implemented for InfiniBand. Currently RoCE doesn't provide an API to find the netdev matching a given set of parameters, so this patch just disables the netdev enforcement for each incoming connections when the link layer is RoCE. Fixes: 4c21b5bcef73 ("IB/cma: Add net_dev and private data checks to RDMA CM") Reported-by: Kamal Heib <kamalh@mellanox.com> Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_ruc.c')
0 files changed, 0 insertions, 0 deletions