i40iw: Remove limit on re-posting AEQ entries to HW
authorSindhu Devale <sindhu.devale@intel.com>
Fri, 12 Jan 2018 00:10:52 +0000 (18:10 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 17 Jan 2018 03:38:18 +0000 (20:38 -0700)
commit72b30e986d2527c023de455d55570e2d32494839
tree277d64ccf9531e56405beaf6a435140ce4ec5526
parent6376e926af1a8661dd1b2e6d0896e07f84a35844
i40iw: Remove limit on re-posting AEQ entries to HW

Currently, if the number of processed Asynchronous Event Queue (AEQ)
entries exceeds 255, they are not returned to HW for re-use. During
scale-up, the unreturned AEQ entries can grow to the max AEQ size and
cause the HW to report an AEQ overflow.

Remove the check which limits the number of processed AEQ entries returned
to HW.

Fixes: 86dbcd0f12e9 ("RDMA/i40iw: add file to handle cqp calls")
Signed-off-by: Sindhu Devale <sindhu.devale@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_user.h