diff options
author | Selvin Xavier <selvin.xavier@emulex.com> | 2014-06-10 19:32:24 +0530 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-01 15:07:49 -0700 |
commit | 4f1df8440d26bafe0be6ef4dbf17162a1263d3fc (patch) | |
tree | 2bdfe641b66edded7dae6678555ecf1fd3381bf5 /drivers/infiniband/hw/ocrdma/ocrdma.h | |
parent | 920de55d40df30131c2b32850a5417d81b0efc7e (diff) |
RDMA/ocrdma: Increase the size of STAG array in dev structure to 16K
HW can support 16K STAG entries. Change this max limit. Also, move
this array out of ocrdma_dev to reduce the size of this structure.
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma.h b/drivers/infiniband/hw/ocrdma/ocrdma.h index fc273782986e..57165137a7a2 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma.h @@ -236,7 +236,7 @@ struct ocrdma_dev { struct list_head entry; struct rcu_head rcu; int id; - u64 stag_arr[OCRDMA_MAX_STAG]; + u64 *stag_arr; u8 sl; /* service level */ bool pfc_state; atomic_t update_sl; |