aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe/common
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2018-04-30 21:47:30 +0000
committerNavdeep Parhar <np@FreeBSD.org>2018-04-30 21:47:30 +0000
commit111638bf6896d5100ace4d14c1ff45eaaec164d0 (patch)
tree21ca6b468b5c388592003099a36be4ef1a44d17a /sys/dev/cxgbe/common
parentc6c70c074633569447be4bfd2b694a1c294015bd (diff)
Notes
Diffstat (limited to 'sys/dev/cxgbe/common')
-rw-r--r--sys/dev/cxgbe/common/t4_msg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/common/t4_msg.h b/sys/dev/cxgbe/common/t4_msg.h
index 599ad428cf5b4..c67306750164d 100644
--- a/sys/dev/cxgbe/common/t4_msg.h
+++ b/sys/dev/cxgbe/common/t4_msg.h
@@ -308,10 +308,15 @@ union opcode_tid {
/* partitioning of TID fields that also carry a queue id */
#define S_TID_TID 0
-#define M_TID_TID 0x3fff
+#define M_TID_TID 0x7ff
#define V_TID_TID(x) ((x) << S_TID_TID)
#define G_TID_TID(x) (((x) >> S_TID_TID) & M_TID_TID)
+#define S_TID_COOKIE 11
+#define M_TID_COOKIE 0x7
+#define V_TID_COOKIE(x) ((x) << S_TID_COOKIE)
+#define G_TID_COOKIE(x) (((x) >> S_TID_COOKIE) & M_TID_COOKIE)
+
#define S_TID_QID 14
#define M_TID_QID 0x3ff
#define V_TID_QID(x) ((x) << S_TID_QID)