RDMA/iw_cxgb4: calculate t4_eq_status_entries properly
authorGanesh Goudar <[email protected]>
Fri, 19 May 2017 09:18:42 +0000 (14:48 +0530)
committerDoug Ledford <[email protected]>
Thu, 1 Jun 2017 21:02:50 +0000 (17:02 -0400)
commit4bbfabede50849f87b913a1fc07c02ecc96b6c57
tree05753cb2f849639599c2a4b420c60b335219c2cf
parent1dad0ebeea1cd890b8892523f736916e245b0aef
RDMA/iw_cxgb4: calculate t4_eq_status_entries properly

use egrstatuspagesize to calculate t4_eq_status_entries.

Fixes: bb58d07964f2 ("cxgb4: Update IngPad and IngPack values")
Reported-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Potnuri Bharat Teja <[email protected]>
Signed-off-by: Ganesh Goudar <[email protected]>
Acked-by: Steve Wise <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/cxgb4/device.c