RDMA/vmw_pvrdma: Dont hardcode QP header page
authorAdit Ranadive <aditr@vmware.com>
Thu, 23 Feb 2017 01:22:57 +0000 (17:22 -0800)
committerDoug Ledford <dledford@redhat.com>
Sat, 25 Mar 2017 00:49:53 +0000 (20:49 -0400)
commite51c2fb0331cb3440d7dc83ee78019ee8c7bb366
tree76613fa8d3fba679d72e08c163fadaf28edd8f2c
parent6332dee83d8eab80d6d502cc51135b998fe6df79
RDMA/vmw_pvrdma: Dont hardcode QP header page

Moved the header page count to a macro.

Reported-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Reviewed-by: Aditya Sarwade <asarwade@vmware.com>
Tested-by: Andrew Boyer <andrew.boyer@dell.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c