RDMA/ocrdma: Fix to work with even a single MSI-X vector
authorNaresh Gottumukkala <bgottumukkala@emulex.com>
Mon, 26 Aug 2013 09:57:41 +0000 (15:27 +0530)
committerRoland Dreier <roland@purestorage.com>
Tue, 3 Sep 2013 04:17:54 +0000 (21:17 -0700)
commitc88bd03ffccdb069fd9541bea347bdab8f4e7e6a
treedb276771ea7ac959dcd4159b1c6077f69eadd2e6
parentd3cb6c0b2a0d9f507fff8d7c74b2b334d6751bee
RDMA/ocrdma: Fix to work with even a single MSI-X vector

There are cases like SRIOV where can get only one MSI-X vector
allocated for RoCE.  In that case we need to use the vector for both
data plane and control plane.  We need to use EQ create version V2.

Signed-off-by: Naresh Gottumukkala <bgottumukkala@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma.h
drivers/infiniband/hw/ocrdma/ocrdma_hw.c