aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/i40iw/i40iw.h
diff options
context:
space:
mode:
authorFaisal Latif2016-06-14 16:54:18 -0500
committerDoug Ledford2016-06-23 10:35:34 -0400
commit0477e18145c565f9ca74c6df4112f818f673fcaa (patch)
tree94569ba32c9488192dea065e0457ac4854aa8269 /drivers/infiniband/hw/i40iw/i40iw.h
parentee23abd75c5076e51061c275e8f659d754a63c9d (diff)
i40iw: Return correct max_fast_reg_page_list_len
Return correct value for max_fast_reg_page_list_len from i40iw_query_device(). Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw.h')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw.h b/drivers/infiniband/hw/i40iw/i40iw.h
index 8b9532034558..14f16a2dcbed 100644
--- a/drivers/infiniband/hw/i40iw/i40iw.h
+++ b/drivers/infiniband/hw/i40iw/i40iw.h
@@ -113,6 +113,7 @@
#define IW_HMC_OBJ_TYPE_NUM ARRAY_SIZE(iw_hmc_obj_types)
#define IW_CFG_FPM_QP_COUNT 32768
+#define I40IW_MAX_PAGES_PER_FMR 512
#define I40IW_MTU_TO_MSS 40
#define I40IW_DEFAULT_MSS 1460