IB/ipath: put a limit on the number of QPs that can be created
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
这个提交包含在:
@@ -482,6 +482,8 @@ struct ipath_ibdev {
|
||||
spinlock_t n_ahs_lock;
|
||||
u32 n_cqs_allocated; /* number of CQs allocated for device */
|
||||
spinlock_t n_cqs_lock;
|
||||
u32 n_qps_allocated; /* number of QPs allocated for device */
|
||||
spinlock_t n_qps_lock;
|
||||
u32 n_srqs_allocated; /* number of SRQs allocated for device */
|
||||
spinlock_t n_srqs_lock;
|
||||
u32 n_mcast_grps_allocated; /* number of mcast groups allocated */
|
||||
@@ -792,6 +794,8 @@ extern unsigned int ib_ipath_max_cqs;
|
||||
|
||||
extern unsigned int ib_ipath_max_qp_wrs;
|
||||
|
||||
extern unsigned int ib_ipath_max_qps;
|
||||
|
||||
extern unsigned int ib_ipath_max_sges;
|
||||
|
||||
extern unsigned int ib_ipath_max_mcast_grps;
|
||||
|
在新工单中引用
屏蔽一个用户