summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw.h
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2016-06-14 16:54:19 -0500
committerDoug Ledford <dledford@redhat.com>2016-06-23 10:35:34 -0400
commit7748e4990de42ea796543c0ffd34118c3a5e6a98 (patch)
tree732cbcac813768990cc1dd5e9013e533d1883d53 /drivers/infiniband/hw/i40iw/i40iw.h
parent0477e18145c565f9ca74c6df4112f818f673fcaa (diff)
downloadop-kernel-dev-7748e4990de42ea796543c0ffd34118c3a5e6a98.zip
op-kernel-dev-7748e4990de42ea796543c0ffd34118c3a5e6a98.tar.gz
i40iw: Enable level-1 PBL for fast memory registration
Set the chunk_size to enable level-1 PBL support when the fast memory page count is more than one. Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Faisal Latif <faisal.latif@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 14f16a2..b738acd 100644
--- a/drivers/infiniband/hw/i40iw/i40iw.h
+++ b/drivers/infiniband/hw/i40iw/i40iw.h
@@ -114,6 +114,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_MIN_PAGES_PER_FMR 1
#define I40IW_MTU_TO_MSS 40
#define I40IW_DEFAULT_MSS 1460
OpenPOWER on IntegriCloud