]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/iw_cxgb4: calculate t4_eq_status_entries properly
authorGanesh Goudar <ganeshgr@chelsio.com>
Fri, 19 May 2017 09:18:42 +0000 (14:48 +0530)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:02:50 +0000 (17:02 -0400)
commitc1b7817a19508674bb1e8915af2af10edb4cdd7d
tree05753cb2f849639599c2a4b420c60b335219c2cf
parent2db861c8caa941ff3d7f054636d9f415f9992010
RDMA/iw_cxgb4: calculate t4_eq_status_entries properly

use egrstatuspagesize to calculate t4_eq_status_entries.

Fixes: 20dfa922dad7 ("cxgb4: Update IngPad and IngPack values")
Reported-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/device.c