diff options
author | Shiraz Saleem <shiraz.saleem@intel.com> | 2016-04-22 14:14:23 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-04-28 16:32:54 -0400 |
commit | 9510b0666eaeda032de89a54f112cb3e9f41b2c5 (patch) | |
tree | 00b9361d2ffda625033e5451d586a3cad1eded5e /drivers/infiniband/hw/i40iw/i40iw_d.h | |
parent | c2b75ef7dcb9cf5e237955b0d0fa48918978493d (diff) | |
download | op-kernel-dev-9510b0666eaeda032de89a54f112cb3e9f41b2c5.zip op-kernel-dev-9510b0666eaeda032de89a54f112cb3e9f41b2c5.tar.gz |
RDMA/i40iw: Fixes for WQE alignment
Invalidation after every WQE write is changed to invalidate
only if required. NOPs are padded so that WQE writes are
aligned to 64B boundary.
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@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_d.h')
-rw-r--r-- | drivers/infiniband/hw/i40iw/i40iw_d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_d.h b/drivers/infiniband/hw/i40iw/i40iw_d.h index e8951a7..bd942da 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_d.h +++ b/drivers/infiniband/hw/i40iw/i40iw_d.h @@ -1512,6 +1512,8 @@ enum i40iw_alignment { I40IW_SD_BUF_ALIGNMENT = 0x100 }; +#define I40IW_WQE_SIZE_64 64 + #define I40IW_QP_WQE_MIN_SIZE 32 #define I40IW_QP_WQE_MAX_SIZE 128 |