]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/qedr: Fix rdma_type initialization
authorKalderon, Michal <Michal.Kalderon@cavium.com>
Wed, 20 Sep 2017 05:39:46 +0000 (08:39 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 15:18:56 +0000 (11:18 -0400)
commit694c5505e9d2ef082246507bf44403f4bd4c3994
tree3f5256c7d044326bd648f921858e6d2c7ef141b9
parent66d1ce40730732eb2daff33885214a2233333b18
RDMA/qedr: Fix rdma_type initialization

Initialize the rdma_type (iWARP or RoCE) which is set according to
device configuration in qed.

Fixes: 65f851ecb0a ("RDMA/qedr: Add support for registering an iWARP device")
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/main.c