diff options
author | Naresh Gottumukkala <bgottumukkala@emulex.com> | 2013-08-26 11:57:41 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-09-03 06:17:54 +0200 |
commit | c88bd03ffccdb069fd9541bea347bdab8f4e7e6a (patch) | |
tree | db276771ea7ac959dcd4159b1c6077f69eadd2e6 /drivers/infiniband/hw/ocrdma/ocrdma.h | |
parent | RDMA/ocrdma: Remove the MTU check based on Ethernet MTU (diff) | |
download | linux-c88bd03ffccdb069fd9541bea347bdab8f4e7e6a.tar.xz linux-c88bd03ffccdb069fd9541bea347bdab8f4e7e6a.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma.h b/drivers/infiniband/hw/ocrdma/ocrdma.h index 634c2e18521b..9cc966ab3b5a 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma.h @@ -132,8 +132,7 @@ struct ocrdma_dev { struct ocrdma_cq **cq_tbl; struct ocrdma_qp **qp_tbl; - struct ocrdma_eq meq; - struct ocrdma_eq *qp_eq_tbl; + struct ocrdma_eq *eq_tbl; int eq_cnt; u16 base_eqid; u16 max_eq; |