summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw.h
diff options
context:
space:
mode:
authorFaisal Latif <faisal.latif@intel.com>2016-06-14 23:54:18 +0200
committerDoug Ledford <dledford@redhat.com>2016-06-23 16:35:34 +0200
commit0477e18145c565f9ca74c6df4112f818f673fcaa (patch)
tree94569ba32c9488192dea065e0457ac4854aa8269 /drivers/infiniband/hw/i40iw/i40iw.h
parenti40iw: Correct status check on i40iw_get_pble (diff)
downloadlinux-0477e18145c565f9ca74c6df4112f818f673fcaa.tar.xz
linux-0477e18145c565f9ca74c6df4112f818f673fcaa.zip
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