summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/cxgb4/user.h
diff options
context:
space:
mode:
authorVipul Pandya <vipul@chelsio.com>2012-05-18 13:59:28 +0400
committerRoland Dreier <roland@purestorage.com>2012-05-19 00:22:31 +0400
commit2c97478106880a5fb241a473252e61845a69386e (patch)
treeb17a7486865794efacf6409263ba0462a1d112e0 /drivers/infiniband/hw/cxgb4/user.h
parent8d81ef34b249109084b2f3c4bb826d0417ef5814 (diff)
downloadlinux-2c97478106880a5fb241a473252e61845a69386e.tar.xz
RDMA/cxgb4: Add DB Overflow Avoidance
Get FULL/EMPTY/DROP events from LLD. On FULL event, disable normal user mode DB rings. Add modify_qp semantics to allow user processes to call into the kernel to ring doobells without overflowing. Add DB Full/Empty/Drop stats. Mark queues when created indicating the doorbell state. If we're in the middle of db overflow avoidance, then newly created queues should start out in this mode. Bump the C4IW_UVERBS_ABI_VERSION to 2 so the user mode library can know if the driver supports the kernel mode db ringing. Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/user.h')
-rw-r--r--drivers/infiniband/hw/cxgb4/user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/user.h b/drivers/infiniband/hw/cxgb4/user.h
index e6669d54770e..32b754c35ab7 100644
--- a/drivers/infiniband/hw/cxgb4/user.h
+++ b/drivers/infiniband/hw/cxgb4/user.h
@@ -32,7 +32,7 @@
#ifndef __C4IW_USER_H__
#define __C4IW_USER_H__
-#define C4IW_UVERBS_ABI_VERSION 1
+#define C4IW_UVERBS_ABI_VERSION 2
/*
* Make sure that all structs defined in this file remain laid out so