diff options
author | Mahesh Vardhamanaiah <mahesh.vardhamanaiah@emulex.com> | 2012-06-08 21:26:11 +0530 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-06-11 09:38:35 -0700 |
commit | 634c5796a5c60964faf9d51892571ffe36ad24d5 (patch) | |
tree | eadc9c8df850a7a70c6bc42896d0179e286c0468 /drivers/infiniband/hw/ocrdma/ocrdma.h | |
parent | 07bb54244e466f1517357f47a498574f97c31e08 (diff) | |
download | op-kernel-dev-634c5796a5c60964faf9d51892571ffe36ad24d5.zip op-kernel-dev-634c5796a5c60964faf9d51892571ffe36ad24d5.tar.gz |
RDMA/ocrdma: Correct queue SGE calculation
Fix max sge calculation for sq, rq, srq for all hardware types.
Signed-off-by: Mahesh Vardhamanaiah <mahesh.vardhamanaiah@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma.h b/drivers/infiniband/hw/ocrdma/ocrdma.h index 037f5ce..48970af 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma.h @@ -61,6 +61,7 @@ struct ocrdma_dev_attr { u32 max_inline_data; int max_send_sge; int max_recv_sge; + int max_srq_sge; int max_mr; u64 max_mr_size; u32 max_num_mr_pbl; |