summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qedr/qedr.h
diff options
context:
space:
mode:
authorAmrani, Ram <Ram.Amrani@cavium.com>2017-04-27 12:35:35 +0200
committerDoug Ledford <dledford@redhat.com>2017-04-28 18:47:57 +0200
commitb6acd71fefc92d13ac9a0f117101d1aab1102d18 (patch)
treea13f6411c42a244e75e8434383f4f2fb18cd92ed /drivers/infiniband/hw/qedr/qedr.h
parentRDMA/qedr: destroy CQ only after HW releases it (diff)
downloadlinux-b6acd71fefc92d13ac9a0f117101d1aab1102d18.tar.xz
linux-b6acd71fefc92d13ac9a0f117101d1aab1102d18.zip
RDMA/qedr: add support for send+invalidate in poll CQ
Split the poll responder CQ into two functions. Add support for send+invalidate in poll CQ. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qedr/qedr.h')
-rw-r--r--drivers/infiniband/hw/qedr/qedr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qedr/qedr.h b/drivers/infiniband/hw/qedr/qedr.h
index fc9e2797ac5a..bf02ae4c8891 100644
--- a/drivers/infiniband/hw/qedr/qedr.h
+++ b/drivers/infiniband/hw/qedr/qedr.h
@@ -431,7 +431,8 @@ struct qedr_mr {
RDMA_CQE_RESPONDER_IMM_FLG_SHIFT)
#define QEDR_RESP_RDMA (RDMA_CQE_RESPONDER_RDMA_FLG_MASK << \
RDMA_CQE_RESPONDER_RDMA_FLG_SHIFT)
-#define QEDR_RESP_RDMA_IMM (QEDR_RESP_IMM | QEDR_RESP_RDMA)
+#define QEDR_RESP_INV (RDMA_CQE_RESPONDER_INV_FLG_MASK << \
+ RDMA_CQE_RESPONDER_INV_FLG_SHIFT)
static inline void qedr_inc_sw_cons(struct qedr_qp_hwq_info *info)
{