aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw_pble.h
diff options
context:
space:
mode:
authorChien Tin Tung <chien.tin.tung@intel.com>2017-12-08 14:34:28 -0600
committerJason Gunthorpe <jgg@mellanox.com>2017-12-11 16:19:43 -0700
commit807e005ab8b3e1be5739e8df7d8c79913ed0ac83 (patch)
tree90d7da4466715ab35a579e882ec6fe12ed319376 /drivers/infiniband/hw/i40iw/i40iw_pble.h
parentIB/ipoib: Replace printk with pr_warn (diff)
downloadlinux-dev-807e005ab8b3e1be5739e8df7d8c79913ed0ac83.tar.xz
linux-dev-807e005ab8b3e1be5739e8df7d8c79913ed0ac83.zip
i40iw: Use sqsize to initialize cqp_requests elements
Use sqsize instead of I40IW_CQP_SW_SQSIZE_2048 to initialize cqp_requests elements in the for-loop as sqsize is used to allocate memory for cqp_requests. Signed-off-by: Chien Tin Tung <chien.tin.tung@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_pble.h')
0 files changed, 0 insertions, 0 deletions