FreeBSD kernel CXGB device code
cxgb_sge_defs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define S_EC_CREDITS   0
 
#define M_EC_CREDITS   0x7FFF
 
#define V_EC_CREDITS(x)   ((x) << S_EC_CREDITS)
 
#define G_EC_CREDITS(x)   (((x) >> S_EC_CREDITS) & M_EC_CREDITS)
 
#define S_EC_GTS   15
 
#define V_EC_GTS(x)   ((x) << S_EC_GTS)
 
#define F_EC_GTS   V_EC_GTS(1U)
 
#define S_EC_INDEX   16
 
#define M_EC_INDEX   0xFFFF
 
#define V_EC_INDEX(x)   ((x) << S_EC_INDEX)
 
#define G_EC_INDEX(x)   (((x) >> S_EC_INDEX) & M_EC_INDEX)
 
#define S_EC_SIZE   0
 
#define M_EC_SIZE   0xFFFF
 
#define V_EC_SIZE(x)   ((x) << S_EC_SIZE)
 
#define G_EC_SIZE(x)   (((x) >> S_EC_SIZE) & M_EC_SIZE)
 
#define S_EC_BASE_LO   16
 
#define M_EC_BASE_LO   0xFFFF
 
#define V_EC_BASE_LO(x)   ((x) << S_EC_BASE_LO)
 
#define G_EC_BASE_LO(x)   (((x) >> S_EC_BASE_LO) & M_EC_BASE_LO)
 
#define S_EC_BASE_HI   0
 
#define M_EC_BASE_HI   0xF
 
#define V_EC_BASE_HI(x)   ((x) << S_EC_BASE_HI)
 
#define G_EC_BASE_HI(x)   (((x) >> S_EC_BASE_HI) & M_EC_BASE_HI)
 
#define S_EC_RESPQ   4
 
#define M_EC_RESPQ   0x7
 
#define V_EC_RESPQ(x)   ((x) << S_EC_RESPQ)
 
#define G_EC_RESPQ(x)   (((x) >> S_EC_RESPQ) & M_EC_RESPQ)
 
#define S_EC_TYPE   7
 
#define M_EC_TYPE   0x7
 
#define V_EC_TYPE(x)   ((x) << S_EC_TYPE)
 
#define G_EC_TYPE(x)   (((x) >> S_EC_TYPE) & M_EC_TYPE)
 
#define S_EC_GEN   10
 
#define V_EC_GEN(x)   ((x) << S_EC_GEN)
 
#define F_EC_GEN   V_EC_GEN(1U)
 
#define S_EC_UP_TOKEN   11
 
#define M_EC_UP_TOKEN   0xFFFFF
 
#define V_EC_UP_TOKEN(x)   ((x) << S_EC_UP_TOKEN)
 
#define G_EC_UP_TOKEN(x)   (((x) >> S_EC_UP_TOKEN) & M_EC_UP_TOKEN)
 
#define S_EC_VALID   31
 
#define V_EC_VALID(x)   ((x) << S_EC_VALID)
 
#define F_EC_VALID   V_EC_VALID(1U)
 
#define S_RQ_MSI_VEC   20
 
#define M_RQ_MSI_VEC   0x3F
 
#define V_RQ_MSI_VEC(x)   ((x) << S_RQ_MSI_VEC)
 
#define G_RQ_MSI_VEC(x)   (((x) >> S_RQ_MSI_VEC) & M_RQ_MSI_VEC)
 
#define S_RQ_INTR_EN   26
 
#define V_RQ_INTR_EN(x)   ((x) << S_RQ_INTR_EN)
 
#define F_RQ_INTR_EN   V_RQ_INTR_EN(1U)
 
#define S_RQ_GEN   28
 
#define V_RQ_GEN(x)   ((x) << S_RQ_GEN)
 
#define F_RQ_GEN   V_RQ_GEN(1U)
 
#define S_CQ_INDEX   0
 
#define M_CQ_INDEX   0xFFFF
 
#define V_CQ_INDEX(x)   ((x) << S_CQ_INDEX)
 
#define G_CQ_INDEX(x)   (((x) >> S_CQ_INDEX) & M_CQ_INDEX)
 
#define S_CQ_SIZE   16
 
#define M_CQ_SIZE   0xFFFF
 
#define V_CQ_SIZE(x)   ((x) << S_CQ_SIZE)
 
#define G_CQ_SIZE(x)   (((x) >> S_CQ_SIZE) & M_CQ_SIZE)
 
#define S_CQ_BASE_HI   0
 
#define M_CQ_BASE_HI   0xFFFFF
 
#define V_CQ_BASE_HI(x)   ((x) << S_CQ_BASE_HI)
 
#define G_CQ_BASE_HI(x)   (((x) >> S_CQ_BASE_HI) & M_CQ_BASE_HI)
 
#define S_CQ_RSPQ   20
 
#define M_CQ_RSPQ   0x3F
 
#define V_CQ_RSPQ(x)   ((x) << S_CQ_RSPQ)
 
#define G_CQ_RSPQ(x)   (((x) >> S_CQ_RSPQ) & M_CQ_RSPQ)
 
#define S_CQ_ASYNC_NOTIF   26
 
#define V_CQ_ASYNC_NOTIF(x)   ((x) << S_CQ_ASYNC_NOTIF)
 
#define F_CQ_ASYNC_NOTIF   V_CQ_ASYNC_NOTIF(1U)
 
#define S_CQ_ARMED   27
 
#define V_CQ_ARMED(x)   ((x) << S_CQ_ARMED)
 
#define F_CQ_ARMED   V_CQ_ARMED(1U)
 
#define S_CQ_ASYNC_NOTIF_SOL   28
 
#define V_CQ_ASYNC_NOTIF_SOL(x)   ((x) << S_CQ_ASYNC_NOTIF_SOL)
 
#define F_CQ_ASYNC_NOTIF_SOL   V_CQ_ASYNC_NOTIF_SOL(1U)
 
#define S_CQ_GEN   29
 
#define V_CQ_GEN(x)   ((x) << S_CQ_GEN)
 
#define F_CQ_GEN   V_CQ_GEN(1U)
 
#define S_CQ_ERR   30
 
#define V_CQ_ERR(x)   ((x) << S_CQ_ERR)
 
#define F_CQ_ERR   V_CQ_ERR(1U)
 
#define S_CQ_OVERFLOW_MODE   31
 
#define V_CQ_OVERFLOW_MODE(x)   ((x) << S_CQ_OVERFLOW_MODE)
 
#define F_CQ_OVERFLOW_MODE   V_CQ_OVERFLOW_MODE(1U)
 
#define S_CQ_CREDITS   0
 
#define M_CQ_CREDITS   0xFFFF
 
#define V_CQ_CREDITS(x)   ((x) << S_CQ_CREDITS)
 
#define G_CQ_CREDITS(x)   (((x) >> S_CQ_CREDITS) & M_CQ_CREDITS)
 
#define S_CQ_CREDIT_THRES   16
 
#define M_CQ_CREDIT_THRES   0x1FFF
 
#define V_CQ_CREDIT_THRES(x)   ((x) << S_CQ_CREDIT_THRES)
 
#define G_CQ_CREDIT_THRES(x)   (((x) >> S_CQ_CREDIT_THRES) & M_CQ_CREDIT_THRES)
 
#define S_FL_BASE_HI   0
 
#define M_FL_BASE_HI   0xFFFFF
 
#define V_FL_BASE_HI(x)   ((x) << S_FL_BASE_HI)
 
#define G_FL_BASE_HI(x)   (((x) >> S_FL_BASE_HI) & M_FL_BASE_HI)
 
#define S_FL_INDEX_LO   20
 
#define M_FL_INDEX_LO   0xFFF
 
#define V_FL_INDEX_LO(x)   ((x) << S_FL_INDEX_LO)
 
#define G_FL_INDEX_LO(x)   (((x) >> S_FL_INDEX_LO) & M_FL_INDEX_LO)
 
#define S_FL_INDEX_HI   0
 
#define M_FL_INDEX_HI   0xF
 
#define V_FL_INDEX_HI(x)   ((x) << S_FL_INDEX_HI)
 
#define G_FL_INDEX_HI(x)   (((x) >> S_FL_INDEX_HI) & M_FL_INDEX_HI)
 
#define S_FL_SIZE   4
 
#define M_FL_SIZE   0xFFFF
 
#define V_FL_SIZE(x)   ((x) << S_FL_SIZE)
 
#define G_FL_SIZE(x)   (((x) >> S_FL_SIZE) & M_FL_SIZE)
 
#define S_FL_GEN   20
 
#define V_FL_GEN(x)   ((x) << S_FL_GEN)
 
#define F_FL_GEN   V_FL_GEN(1U)
 
#define S_FL_ENTRY_SIZE_LO   21
 
#define M_FL_ENTRY_SIZE_LO   0x7FF
 
#define V_FL_ENTRY_SIZE_LO(x)   ((x) << S_FL_ENTRY_SIZE_LO)
 
#define G_FL_ENTRY_SIZE_LO(x)   (((x) >> S_FL_ENTRY_SIZE_LO) & M_FL_ENTRY_SIZE_LO)
 
#define S_FL_ENTRY_SIZE_HI   0
 
#define M_FL_ENTRY_SIZE_HI   0x1FFFFF
 
#define V_FL_ENTRY_SIZE_HI(x)   ((x) << S_FL_ENTRY_SIZE_HI)
 
#define G_FL_ENTRY_SIZE_HI(x)   (((x) >> S_FL_ENTRY_SIZE_HI) & M_FL_ENTRY_SIZE_HI)
 
#define S_FL_CONG_THRES   21
 
#define M_FL_CONG_THRES   0x3FF
 
#define V_FL_CONG_THRES(x)   ((x) << S_FL_CONG_THRES)
 
#define G_FL_CONG_THRES(x)   (((x) >> S_FL_CONG_THRES) & M_FL_CONG_THRES)
 
#define S_FL_GTS   31
 
#define V_FL_GTS(x)   ((x) << S_FL_GTS)
 
#define F_FL_GTS   V_FL_GTS(1U)
 
#define S_FLD_GEN1   31
 
#define V_FLD_GEN1(x)   ((x) << S_FLD_GEN1)
 
#define F_FLD_GEN1   V_FLD_GEN1(1U)
 
#define S_FLD_GEN2   0
 
#define V_FLD_GEN2(x)   ((x) << S_FLD_GEN2)
 
#define F_FLD_GEN2   V_FLD_GEN2(1U)
 
#define S_RSPD_TXQ1_CR   0
 
#define M_RSPD_TXQ1_CR   0x7F
 
#define V_RSPD_TXQ1_CR(x)   ((x) << S_RSPD_TXQ1_CR)
 
#define G_RSPD_TXQ1_CR(x)   (((x) >> S_RSPD_TXQ1_CR) & M_RSPD_TXQ1_CR)
 
#define S_RSPD_TXQ1_GTS   7
 
#define V_RSPD_TXQ1_GTS(x)   ((x) << S_RSPD_TXQ1_GTS)
 
#define F_RSPD_TXQ1_GTS   V_RSPD_TXQ1_GTS(1U)
 
#define S_RSPD_TXQ2_CR   8
 
#define M_RSPD_TXQ2_CR   0x7F
 
#define V_RSPD_TXQ2_CR(x)   ((x) << S_RSPD_TXQ2_CR)
 
#define G_RSPD_TXQ2_CR(x)   (((x) >> S_RSPD_TXQ2_CR) & M_RSPD_TXQ2_CR)
 
#define S_RSPD_TXQ2_GTS   15
 
#define V_RSPD_TXQ2_GTS(x)   ((x) << S_RSPD_TXQ2_GTS)
 
#define F_RSPD_TXQ2_GTS   V_RSPD_TXQ2_GTS(1U)
 
#define S_RSPD_TXQ0_CR   16
 
#define M_RSPD_TXQ0_CR   0x7F
 
#define V_RSPD_TXQ0_CR(x)   ((x) << S_RSPD_TXQ0_CR)
 
#define G_RSPD_TXQ0_CR(x)   (((x) >> S_RSPD_TXQ0_CR) & M_RSPD_TXQ0_CR)
 
#define S_RSPD_TXQ0_GTS   23
 
#define V_RSPD_TXQ0_GTS(x)   ((x) << S_RSPD_TXQ0_GTS)
 
#define F_RSPD_TXQ0_GTS   V_RSPD_TXQ0_GTS(1U)
 
#define S_RSPD_EOP   24
 
#define V_RSPD_EOP(x)   ((x) << S_RSPD_EOP)
 
#define F_RSPD_EOP   V_RSPD_EOP(1U)
 
#define G_RSPD_EOP(x)   ((x) & F_RSPD_EOP)
 
#define S_RSPD_SOP   25
 
#define V_RSPD_SOP(x)   ((x) << S_RSPD_SOP)
 
#define F_RSPD_SOP   V_RSPD_SOP(1U)
 
#define G_RSPD_SOP(x)   ((x) & F_RSPD_SOP)
 
#define G_RSPD_SOP_EOP(x)   ((G_RSPD_SOP(x) | G_RSPD_EOP(x)) >> S_RSPD_EOP)
 
#define S_RSPD_ASYNC_NOTIF   26
 
#define V_RSPD_ASYNC_NOTIF(x)   ((x) << S_RSPD_ASYNC_NOTIF)
 
#define F_RSPD_ASYNC_NOTIF   V_RSPD_ASYNC_NOTIF(1U)
 
#define S_RSPD_FL0_GTS   27
 
#define V_RSPD_FL0_GTS(x)   ((x) << S_RSPD_FL0_GTS)
 
#define F_RSPD_FL0_GTS   V_RSPD_FL0_GTS(1U)
 
#define S_RSPD_FL1_GTS   28
 
#define V_RSPD_FL1_GTS(x)   ((x) << S_RSPD_FL1_GTS)
 
#define F_RSPD_FL1_GTS   V_RSPD_FL1_GTS(1U)
 
#define S_RSPD_IMM_DATA_VALID   29
 
#define V_RSPD_IMM_DATA_VALID(x)   ((x) << S_RSPD_IMM_DATA_VALID)
 
#define F_RSPD_IMM_DATA_VALID   V_RSPD_IMM_DATA_VALID(1U)
 
#define S_RSPD_OFFLOAD   30
 
#define V_RSPD_OFFLOAD(x)   ((x) << S_RSPD_OFFLOAD)
 
#define F_RSPD_OFFLOAD   V_RSPD_OFFLOAD(1U)
 
#define S_RSPD_GEN1   31
 
#define V_RSPD_GEN1(x)   ((x) << S_RSPD_GEN1)
 
#define F_RSPD_GEN1   V_RSPD_GEN1(1U)
 
#define S_RSPD_LEN   0
 
#define M_RSPD_LEN   0x7FFFFFFF
 
#define V_RSPD_LEN(x)   ((x) << S_RSPD_LEN)
 
#define G_RSPD_LEN(x)   (((x) >> S_RSPD_LEN) & M_RSPD_LEN)
 
#define S_RSPD_FLQ   31
 
#define V_RSPD_FLQ(x)   ((x) << S_RSPD_FLQ)
 
#define F_RSPD_FLQ   V_RSPD_FLQ(1U)
 
#define S_RSPD_GEN2   0
 
#define V_RSPD_GEN2(x)   ((x) << S_RSPD_GEN2)
 
#define F_RSPD_GEN2   V_RSPD_GEN2(1U)
 
#define S_RSPD_INR_VEC   1
 
#define M_RSPD_INR_VEC   0x7F
 
#define V_RSPD_INR_VEC(x)   ((x) << S_RSPD_INR_VEC)
 
#define G_RSPD_INR_VEC(x)   (((x) >> S_RSPD_INR_VEC) & M_RSPD_INR_VEC)
 

Macro Definition Documentation

◆ F_CQ_ARMED

#define F_CQ_ARMED   V_CQ_ARMED(1U)

Definition at line 130 of file cxgb_sge_defs.h.

◆ F_CQ_ASYNC_NOTIF

#define F_CQ_ASYNC_NOTIF   V_CQ_ASYNC_NOTIF(1U)

Definition at line 126 of file cxgb_sge_defs.h.

◆ F_CQ_ASYNC_NOTIF_SOL

#define F_CQ_ASYNC_NOTIF_SOL   V_CQ_ASYNC_NOTIF_SOL(1U)

Definition at line 134 of file cxgb_sge_defs.h.

◆ F_CQ_ERR

#define F_CQ_ERR   V_CQ_ERR(1U)

Definition at line 142 of file cxgb_sge_defs.h.

◆ F_CQ_GEN

#define F_CQ_GEN   V_CQ_GEN(1U)

Definition at line 138 of file cxgb_sge_defs.h.

◆ F_CQ_OVERFLOW_MODE

#define F_CQ_OVERFLOW_MODE   V_CQ_OVERFLOW_MODE(1U)

Definition at line 146 of file cxgb_sge_defs.h.

◆ F_EC_GEN

#define F_EC_GEN   V_EC_GEN(1U)

Definition at line 80 of file cxgb_sge_defs.h.

◆ F_EC_GTS

#define F_EC_GTS   V_EC_GTS(1U)

Definition at line 46 of file cxgb_sge_defs.h.

◆ F_EC_VALID

#define F_EC_VALID   V_EC_VALID(1U)

Definition at line 89 of file cxgb_sge_defs.h.

◆ F_FL_GEN

#define F_FL_GEN   V_FL_GEN(1U)

Definition at line 180 of file cxgb_sge_defs.h.

◆ F_FL_GTS

#define F_FL_GTS   V_FL_GTS(1U)

Definition at line 199 of file cxgb_sge_defs.h.

◆ F_FLD_GEN1

#define F_FLD_GEN1   V_FLD_GEN1(1U)

Definition at line 203 of file cxgb_sge_defs.h.

◆ F_FLD_GEN2

#define F_FLD_GEN2   V_FLD_GEN2(1U)

Definition at line 207 of file cxgb_sge_defs.h.

◆ F_RQ_GEN

#define F_RQ_GEN   V_RQ_GEN(1U)

Definition at line 102 of file cxgb_sge_defs.h.

◆ F_RQ_INTR_EN

#define F_RQ_INTR_EN   V_RQ_INTR_EN(1U)

Definition at line 98 of file cxgb_sge_defs.h.

◆ F_RSPD_ASYNC_NOTIF

#define F_RSPD_ASYNC_NOTIF   V_RSPD_ASYNC_NOTIF(1U)

Definition at line 250 of file cxgb_sge_defs.h.

◆ F_RSPD_EOP

#define F_RSPD_EOP   V_RSPD_EOP(1U)

Definition at line 238 of file cxgb_sge_defs.h.

◆ F_RSPD_FL0_GTS

#define F_RSPD_FL0_GTS   V_RSPD_FL0_GTS(1U)

Definition at line 254 of file cxgb_sge_defs.h.

◆ F_RSPD_FL1_GTS

#define F_RSPD_FL1_GTS   V_RSPD_FL1_GTS(1U)

Definition at line 258 of file cxgb_sge_defs.h.

◆ F_RSPD_FLQ

#define F_RSPD_FLQ   V_RSPD_FLQ(1U)

Definition at line 279 of file cxgb_sge_defs.h.

◆ F_RSPD_GEN1

#define F_RSPD_GEN1   V_RSPD_GEN1(1U)

Definition at line 270 of file cxgb_sge_defs.h.

◆ F_RSPD_GEN2

#define F_RSPD_GEN2   V_RSPD_GEN2(1U)

Definition at line 283 of file cxgb_sge_defs.h.

◆ F_RSPD_IMM_DATA_VALID

#define F_RSPD_IMM_DATA_VALID   V_RSPD_IMM_DATA_VALID(1U)

Definition at line 262 of file cxgb_sge_defs.h.

◆ F_RSPD_OFFLOAD

#define F_RSPD_OFFLOAD   V_RSPD_OFFLOAD(1U)

Definition at line 266 of file cxgb_sge_defs.h.

◆ F_RSPD_SOP

#define F_RSPD_SOP   V_RSPD_SOP(1U)

Definition at line 243 of file cxgb_sge_defs.h.

◆ F_RSPD_TXQ0_GTS

#define F_RSPD_TXQ0_GTS   V_RSPD_TXQ0_GTS(1U)

Definition at line 234 of file cxgb_sge_defs.h.

◆ F_RSPD_TXQ1_GTS

#define F_RSPD_TXQ1_GTS   V_RSPD_TXQ1_GTS(1U)

Definition at line 216 of file cxgb_sge_defs.h.

◆ F_RSPD_TXQ2_GTS

#define F_RSPD_TXQ2_GTS   V_RSPD_TXQ2_GTS(1U)

Definition at line 225 of file cxgb_sge_defs.h.

◆ G_CQ_BASE_HI

#define G_CQ_BASE_HI (   x)    (((x) >> S_CQ_BASE_HI) & M_CQ_BASE_HI)

Definition at line 117 of file cxgb_sge_defs.h.

◆ G_CQ_CREDIT_THRES

#define G_CQ_CREDIT_THRES (   x)    (((x) >> S_CQ_CREDIT_THRES) & M_CQ_CREDIT_THRES)

Definition at line 156 of file cxgb_sge_defs.h.

◆ G_CQ_CREDITS

#define G_CQ_CREDITS (   x)    (((x) >> S_CQ_CREDITS) & M_CQ_CREDITS)

Definition at line 151 of file cxgb_sge_defs.h.

◆ G_CQ_INDEX

#define G_CQ_INDEX (   x)    (((x) >> S_CQ_INDEX) & M_CQ_INDEX)

Definition at line 107 of file cxgb_sge_defs.h.

◆ G_CQ_RSPQ

#define G_CQ_RSPQ (   x)    (((x) >> S_CQ_RSPQ) & M_CQ_RSPQ)

Definition at line 122 of file cxgb_sge_defs.h.

◆ G_CQ_SIZE

#define G_CQ_SIZE (   x)    (((x) >> S_CQ_SIZE) & M_CQ_SIZE)

Definition at line 112 of file cxgb_sge_defs.h.

◆ G_EC_BASE_HI

#define G_EC_BASE_HI (   x)    (((x) >> S_EC_BASE_HI) & M_EC_BASE_HI)

Definition at line 66 of file cxgb_sge_defs.h.

◆ G_EC_BASE_LO

#define G_EC_BASE_LO (   x)    (((x) >> S_EC_BASE_LO) & M_EC_BASE_LO)

Definition at line 61 of file cxgb_sge_defs.h.

◆ G_EC_CREDITS

#define G_EC_CREDITS (   x)    (((x) >> S_EC_CREDITS) & M_EC_CREDITS)

Definition at line 42 of file cxgb_sge_defs.h.

◆ G_EC_INDEX

#define G_EC_INDEX (   x)    (((x) >> S_EC_INDEX) & M_EC_INDEX)

Definition at line 51 of file cxgb_sge_defs.h.

◆ G_EC_RESPQ

#define G_EC_RESPQ (   x)    (((x) >> S_EC_RESPQ) & M_EC_RESPQ)

Definition at line 71 of file cxgb_sge_defs.h.

◆ G_EC_SIZE

#define G_EC_SIZE (   x)    (((x) >> S_EC_SIZE) & M_EC_SIZE)

Definition at line 56 of file cxgb_sge_defs.h.

◆ G_EC_TYPE

#define G_EC_TYPE (   x)    (((x) >> S_EC_TYPE) & M_EC_TYPE)

Definition at line 76 of file cxgb_sge_defs.h.

◆ G_EC_UP_TOKEN

#define G_EC_UP_TOKEN (   x)    (((x) >> S_EC_UP_TOKEN) & M_EC_UP_TOKEN)

Definition at line 85 of file cxgb_sge_defs.h.

◆ G_FL_BASE_HI

#define G_FL_BASE_HI (   x)    (((x) >> S_FL_BASE_HI) & M_FL_BASE_HI)

Definition at line 161 of file cxgb_sge_defs.h.

◆ G_FL_CONG_THRES

#define G_FL_CONG_THRES (   x)    (((x) >> S_FL_CONG_THRES) & M_FL_CONG_THRES)

Definition at line 195 of file cxgb_sge_defs.h.

◆ G_FL_ENTRY_SIZE_HI

#define G_FL_ENTRY_SIZE_HI (   x)    (((x) >> S_FL_ENTRY_SIZE_HI) & M_FL_ENTRY_SIZE_HI)

Definition at line 190 of file cxgb_sge_defs.h.

◆ G_FL_ENTRY_SIZE_LO

#define G_FL_ENTRY_SIZE_LO (   x)    (((x) >> S_FL_ENTRY_SIZE_LO) & M_FL_ENTRY_SIZE_LO)

Definition at line 185 of file cxgb_sge_defs.h.

◆ G_FL_INDEX_HI

#define G_FL_INDEX_HI (   x)    (((x) >> S_FL_INDEX_HI) & M_FL_INDEX_HI)

Definition at line 171 of file cxgb_sge_defs.h.

◆ G_FL_INDEX_LO

#define G_FL_INDEX_LO (   x)    (((x) >> S_FL_INDEX_LO) & M_FL_INDEX_LO)

Definition at line 166 of file cxgb_sge_defs.h.

◆ G_FL_SIZE

#define G_FL_SIZE (   x)    (((x) >> S_FL_SIZE) & M_FL_SIZE)

Definition at line 176 of file cxgb_sge_defs.h.

◆ G_RQ_MSI_VEC

#define G_RQ_MSI_VEC (   x)    (((x) >> S_RQ_MSI_VEC) & M_RQ_MSI_VEC)

Definition at line 94 of file cxgb_sge_defs.h.

◆ G_RSPD_EOP

#define G_RSPD_EOP (   x)    ((x) & F_RSPD_EOP)

Definition at line 239 of file cxgb_sge_defs.h.

◆ G_RSPD_INR_VEC

#define G_RSPD_INR_VEC (   x)    (((x) >> S_RSPD_INR_VEC) & M_RSPD_INR_VEC)

Definition at line 288 of file cxgb_sge_defs.h.

◆ G_RSPD_LEN

#define G_RSPD_LEN (   x)    (((x) >> S_RSPD_LEN) & M_RSPD_LEN)

Definition at line 275 of file cxgb_sge_defs.h.

◆ G_RSPD_SOP

#define G_RSPD_SOP (   x)    ((x) & F_RSPD_SOP)

Definition at line 244 of file cxgb_sge_defs.h.

◆ G_RSPD_SOP_EOP

#define G_RSPD_SOP_EOP (   x)    ((G_RSPD_SOP(x) | G_RSPD_EOP(x)) >> S_RSPD_EOP)

Definition at line 246 of file cxgb_sge_defs.h.

◆ G_RSPD_TXQ0_CR

#define G_RSPD_TXQ0_CR (   x)    (((x) >> S_RSPD_TXQ0_CR) & M_RSPD_TXQ0_CR)

Definition at line 230 of file cxgb_sge_defs.h.

◆ G_RSPD_TXQ1_CR

#define G_RSPD_TXQ1_CR (   x)    (((x) >> S_RSPD_TXQ1_CR) & M_RSPD_TXQ1_CR)

Definition at line 212 of file cxgb_sge_defs.h.

◆ G_RSPD_TXQ2_CR

#define G_RSPD_TXQ2_CR (   x)    (((x) >> S_RSPD_TXQ2_CR) & M_RSPD_TXQ2_CR)

Definition at line 221 of file cxgb_sge_defs.h.

◆ M_CQ_BASE_HI

#define M_CQ_BASE_HI   0xFFFFF

Definition at line 115 of file cxgb_sge_defs.h.

◆ M_CQ_CREDIT_THRES

#define M_CQ_CREDIT_THRES   0x1FFF

Definition at line 154 of file cxgb_sge_defs.h.

◆ M_CQ_CREDITS

#define M_CQ_CREDITS   0xFFFF

Definition at line 149 of file cxgb_sge_defs.h.

◆ M_CQ_INDEX

#define M_CQ_INDEX   0xFFFF

Definition at line 105 of file cxgb_sge_defs.h.

◆ M_CQ_RSPQ

#define M_CQ_RSPQ   0x3F

Definition at line 120 of file cxgb_sge_defs.h.

◆ M_CQ_SIZE

#define M_CQ_SIZE   0xFFFF

Definition at line 110 of file cxgb_sge_defs.h.

◆ M_EC_BASE_HI

#define M_EC_BASE_HI   0xF

Definition at line 64 of file cxgb_sge_defs.h.

◆ M_EC_BASE_LO

#define M_EC_BASE_LO   0xFFFF

Definition at line 59 of file cxgb_sge_defs.h.

◆ M_EC_CREDITS

#define M_EC_CREDITS   0x7FFF

Definition at line 40 of file cxgb_sge_defs.h.

◆ M_EC_INDEX

#define M_EC_INDEX   0xFFFF

Definition at line 49 of file cxgb_sge_defs.h.

◆ M_EC_RESPQ

#define M_EC_RESPQ   0x7

Definition at line 69 of file cxgb_sge_defs.h.

◆ M_EC_SIZE

#define M_EC_SIZE   0xFFFF

Definition at line 54 of file cxgb_sge_defs.h.

◆ M_EC_TYPE

#define M_EC_TYPE   0x7

Definition at line 74 of file cxgb_sge_defs.h.

◆ M_EC_UP_TOKEN

#define M_EC_UP_TOKEN   0xFFFFF

Definition at line 83 of file cxgb_sge_defs.h.

◆ M_FL_BASE_HI

#define M_FL_BASE_HI   0xFFFFF

Definition at line 159 of file cxgb_sge_defs.h.

◆ M_FL_CONG_THRES

#define M_FL_CONG_THRES   0x3FF

Definition at line 193 of file cxgb_sge_defs.h.

◆ M_FL_ENTRY_SIZE_HI

#define M_FL_ENTRY_SIZE_HI   0x1FFFFF

Definition at line 188 of file cxgb_sge_defs.h.

◆ M_FL_ENTRY_SIZE_LO

#define M_FL_ENTRY_SIZE_LO   0x7FF

Definition at line 183 of file cxgb_sge_defs.h.

◆ M_FL_INDEX_HI

#define M_FL_INDEX_HI   0xF

Definition at line 169 of file cxgb_sge_defs.h.

◆ M_FL_INDEX_LO

#define M_FL_INDEX_LO   0xFFF

Definition at line 164 of file cxgb_sge_defs.h.

◆ M_FL_SIZE

#define M_FL_SIZE   0xFFFF

Definition at line 174 of file cxgb_sge_defs.h.

◆ M_RQ_MSI_VEC

#define M_RQ_MSI_VEC   0x3F

Definition at line 92 of file cxgb_sge_defs.h.

◆ M_RSPD_INR_VEC

#define M_RSPD_INR_VEC   0x7F

Definition at line 286 of file cxgb_sge_defs.h.

◆ M_RSPD_LEN

#define M_RSPD_LEN   0x7FFFFFFF

Definition at line 273 of file cxgb_sge_defs.h.

◆ M_RSPD_TXQ0_CR

#define M_RSPD_TXQ0_CR   0x7F

Definition at line 228 of file cxgb_sge_defs.h.

◆ M_RSPD_TXQ1_CR

#define M_RSPD_TXQ1_CR   0x7F

Definition at line 210 of file cxgb_sge_defs.h.

◆ M_RSPD_TXQ2_CR

#define M_RSPD_TXQ2_CR   0x7F

Definition at line 219 of file cxgb_sge_defs.h.

◆ S_CQ_ARMED

#define S_CQ_ARMED   27

Definition at line 128 of file cxgb_sge_defs.h.

◆ S_CQ_ASYNC_NOTIF

#define S_CQ_ASYNC_NOTIF   26

Definition at line 124 of file cxgb_sge_defs.h.

◆ S_CQ_ASYNC_NOTIF_SOL

#define S_CQ_ASYNC_NOTIF_SOL   28

Definition at line 132 of file cxgb_sge_defs.h.

◆ S_CQ_BASE_HI

#define S_CQ_BASE_HI   0

Definition at line 114 of file cxgb_sge_defs.h.

◆ S_CQ_CREDIT_THRES

#define S_CQ_CREDIT_THRES   16

Definition at line 153 of file cxgb_sge_defs.h.

◆ S_CQ_CREDITS

#define S_CQ_CREDITS   0

Definition at line 148 of file cxgb_sge_defs.h.

◆ S_CQ_ERR

#define S_CQ_ERR   30

Definition at line 140 of file cxgb_sge_defs.h.

◆ S_CQ_GEN

#define S_CQ_GEN   29

Definition at line 136 of file cxgb_sge_defs.h.

◆ S_CQ_INDEX

#define S_CQ_INDEX   0

Definition at line 104 of file cxgb_sge_defs.h.

◆ S_CQ_OVERFLOW_MODE

#define S_CQ_OVERFLOW_MODE   31

Definition at line 144 of file cxgb_sge_defs.h.

◆ S_CQ_RSPQ

#define S_CQ_RSPQ   20

Definition at line 119 of file cxgb_sge_defs.h.

◆ S_CQ_SIZE

#define S_CQ_SIZE   16

Definition at line 109 of file cxgb_sge_defs.h.

◆ S_EC_BASE_HI

#define S_EC_BASE_HI   0

Definition at line 63 of file cxgb_sge_defs.h.

◆ S_EC_BASE_LO

#define S_EC_BASE_LO   16

Definition at line 58 of file cxgb_sge_defs.h.

◆ S_EC_CREDITS

#define S_EC_CREDITS   0

Definition at line 39 of file cxgb_sge_defs.h.

◆ S_EC_GEN

#define S_EC_GEN   10

Definition at line 78 of file cxgb_sge_defs.h.

◆ S_EC_GTS

#define S_EC_GTS   15

Definition at line 44 of file cxgb_sge_defs.h.

◆ S_EC_INDEX

#define S_EC_INDEX   16

Definition at line 48 of file cxgb_sge_defs.h.

◆ S_EC_RESPQ

#define S_EC_RESPQ   4

Definition at line 68 of file cxgb_sge_defs.h.

◆ S_EC_SIZE

#define S_EC_SIZE   0

Definition at line 53 of file cxgb_sge_defs.h.

◆ S_EC_TYPE

#define S_EC_TYPE   7

Definition at line 73 of file cxgb_sge_defs.h.

◆ S_EC_UP_TOKEN

#define S_EC_UP_TOKEN   11

Definition at line 82 of file cxgb_sge_defs.h.

◆ S_EC_VALID

#define S_EC_VALID   31

Definition at line 87 of file cxgb_sge_defs.h.

◆ S_FL_BASE_HI

#define S_FL_BASE_HI   0

Definition at line 158 of file cxgb_sge_defs.h.

◆ S_FL_CONG_THRES

#define S_FL_CONG_THRES   21

Definition at line 192 of file cxgb_sge_defs.h.

◆ S_FL_ENTRY_SIZE_HI

#define S_FL_ENTRY_SIZE_HI   0

Definition at line 187 of file cxgb_sge_defs.h.

◆ S_FL_ENTRY_SIZE_LO

#define S_FL_ENTRY_SIZE_LO   21

Definition at line 182 of file cxgb_sge_defs.h.

◆ S_FL_GEN

#define S_FL_GEN   20

Definition at line 178 of file cxgb_sge_defs.h.

◆ S_FL_GTS

#define S_FL_GTS   31

Definition at line 197 of file cxgb_sge_defs.h.

◆ S_FL_INDEX_HI

#define S_FL_INDEX_HI   0

Definition at line 168 of file cxgb_sge_defs.h.

◆ S_FL_INDEX_LO

#define S_FL_INDEX_LO   20

Definition at line 163 of file cxgb_sge_defs.h.

◆ S_FL_SIZE

#define S_FL_SIZE   4

Definition at line 173 of file cxgb_sge_defs.h.

◆ S_FLD_GEN1

#define S_FLD_GEN1   31

Definition at line 201 of file cxgb_sge_defs.h.

◆ S_FLD_GEN2

#define S_FLD_GEN2   0

Definition at line 205 of file cxgb_sge_defs.h.

◆ S_RQ_GEN

#define S_RQ_GEN   28

Definition at line 100 of file cxgb_sge_defs.h.

◆ S_RQ_INTR_EN

#define S_RQ_INTR_EN   26

Definition at line 96 of file cxgb_sge_defs.h.

◆ S_RQ_MSI_VEC

#define S_RQ_MSI_VEC   20

Definition at line 91 of file cxgb_sge_defs.h.

◆ S_RSPD_ASYNC_NOTIF

#define S_RSPD_ASYNC_NOTIF   26

Definition at line 248 of file cxgb_sge_defs.h.

◆ S_RSPD_EOP

#define S_RSPD_EOP   24

Definition at line 236 of file cxgb_sge_defs.h.

◆ S_RSPD_FL0_GTS

#define S_RSPD_FL0_GTS   27

Definition at line 252 of file cxgb_sge_defs.h.

◆ S_RSPD_FL1_GTS

#define S_RSPD_FL1_GTS   28

Definition at line 256 of file cxgb_sge_defs.h.

◆ S_RSPD_FLQ

#define S_RSPD_FLQ   31

Definition at line 277 of file cxgb_sge_defs.h.

◆ S_RSPD_GEN1

#define S_RSPD_GEN1   31

Definition at line 268 of file cxgb_sge_defs.h.

◆ S_RSPD_GEN2

#define S_RSPD_GEN2   0

Definition at line 281 of file cxgb_sge_defs.h.

◆ S_RSPD_IMM_DATA_VALID

#define S_RSPD_IMM_DATA_VALID   29

Definition at line 260 of file cxgb_sge_defs.h.

◆ S_RSPD_INR_VEC

#define S_RSPD_INR_VEC   1

Definition at line 285 of file cxgb_sge_defs.h.

◆ S_RSPD_LEN

#define S_RSPD_LEN   0

Definition at line 272 of file cxgb_sge_defs.h.

◆ S_RSPD_OFFLOAD

#define S_RSPD_OFFLOAD   30

Definition at line 264 of file cxgb_sge_defs.h.

◆ S_RSPD_SOP

#define S_RSPD_SOP   25

Definition at line 241 of file cxgb_sge_defs.h.

◆ S_RSPD_TXQ0_CR

#define S_RSPD_TXQ0_CR   16

Definition at line 227 of file cxgb_sge_defs.h.

◆ S_RSPD_TXQ0_GTS

#define S_RSPD_TXQ0_GTS   23

Definition at line 232 of file cxgb_sge_defs.h.

◆ S_RSPD_TXQ1_CR

#define S_RSPD_TXQ1_CR   0

Definition at line 209 of file cxgb_sge_defs.h.

◆ S_RSPD_TXQ1_GTS

#define S_RSPD_TXQ1_GTS   7

Definition at line 214 of file cxgb_sge_defs.h.

◆ S_RSPD_TXQ2_CR

#define S_RSPD_TXQ2_CR   8

Definition at line 218 of file cxgb_sge_defs.h.

◆ S_RSPD_TXQ2_GTS

#define S_RSPD_TXQ2_GTS   15

Definition at line 223 of file cxgb_sge_defs.h.

◆ V_CQ_ARMED

#define V_CQ_ARMED (   x)    ((x) << S_CQ_ARMED)

Definition at line 129 of file cxgb_sge_defs.h.

◆ V_CQ_ASYNC_NOTIF

#define V_CQ_ASYNC_NOTIF (   x)    ((x) << S_CQ_ASYNC_NOTIF)

Definition at line 125 of file cxgb_sge_defs.h.

◆ V_CQ_ASYNC_NOTIF_SOL

#define V_CQ_ASYNC_NOTIF_SOL (   x)    ((x) << S_CQ_ASYNC_NOTIF_SOL)

Definition at line 133 of file cxgb_sge_defs.h.

◆ V_CQ_BASE_HI

#define V_CQ_BASE_HI (   x)    ((x) << S_CQ_BASE_HI)

Definition at line 116 of file cxgb_sge_defs.h.

◆ V_CQ_CREDIT_THRES

#define V_CQ_CREDIT_THRES (   x)    ((x) << S_CQ_CREDIT_THRES)

Definition at line 155 of file cxgb_sge_defs.h.

◆ V_CQ_CREDITS

#define V_CQ_CREDITS (   x)    ((x) << S_CQ_CREDITS)

Definition at line 150 of file cxgb_sge_defs.h.

◆ V_CQ_ERR

#define V_CQ_ERR (   x)    ((x) << S_CQ_ERR)

Definition at line 141 of file cxgb_sge_defs.h.

◆ V_CQ_GEN

#define V_CQ_GEN (   x)    ((x) << S_CQ_GEN)

Definition at line 137 of file cxgb_sge_defs.h.

◆ V_CQ_INDEX

#define V_CQ_INDEX (   x)    ((x) << S_CQ_INDEX)

Definition at line 106 of file cxgb_sge_defs.h.

◆ V_CQ_OVERFLOW_MODE

#define V_CQ_OVERFLOW_MODE (   x)    ((x) << S_CQ_OVERFLOW_MODE)

Definition at line 145 of file cxgb_sge_defs.h.

◆ V_CQ_RSPQ

#define V_CQ_RSPQ (   x)    ((x) << S_CQ_RSPQ)

Definition at line 121 of file cxgb_sge_defs.h.

◆ V_CQ_SIZE

#define V_CQ_SIZE (   x)    ((x) << S_CQ_SIZE)

Definition at line 111 of file cxgb_sge_defs.h.

◆ V_EC_BASE_HI

#define V_EC_BASE_HI (   x)    ((x) << S_EC_BASE_HI)

Definition at line 65 of file cxgb_sge_defs.h.

◆ V_EC_BASE_LO

#define V_EC_BASE_LO (   x)    ((x) << S_EC_BASE_LO)

Definition at line 60 of file cxgb_sge_defs.h.

◆ V_EC_CREDITS

#define V_EC_CREDITS (   x)    ((x) << S_EC_CREDITS)

Definition at line 41 of file cxgb_sge_defs.h.

◆ V_EC_GEN

#define V_EC_GEN (   x)    ((x) << S_EC_GEN)

Definition at line 79 of file cxgb_sge_defs.h.

◆ V_EC_GTS

#define V_EC_GTS (   x)    ((x) << S_EC_GTS)

Definition at line 45 of file cxgb_sge_defs.h.

◆ V_EC_INDEX

#define V_EC_INDEX (   x)    ((x) << S_EC_INDEX)

Definition at line 50 of file cxgb_sge_defs.h.

◆ V_EC_RESPQ

#define V_EC_RESPQ (   x)    ((x) << S_EC_RESPQ)

Definition at line 70 of file cxgb_sge_defs.h.

◆ V_EC_SIZE

#define V_EC_SIZE (   x)    ((x) << S_EC_SIZE)

Definition at line 55 of file cxgb_sge_defs.h.

◆ V_EC_TYPE

#define V_EC_TYPE (   x)    ((x) << S_EC_TYPE)

Definition at line 75 of file cxgb_sge_defs.h.

◆ V_EC_UP_TOKEN

#define V_EC_UP_TOKEN (   x)    ((x) << S_EC_UP_TOKEN)

Definition at line 84 of file cxgb_sge_defs.h.

◆ V_EC_VALID

#define V_EC_VALID (   x)    ((x) << S_EC_VALID)

Definition at line 88 of file cxgb_sge_defs.h.

◆ V_FL_BASE_HI

#define V_FL_BASE_HI (   x)    ((x) << S_FL_BASE_HI)

Definition at line 160 of file cxgb_sge_defs.h.

◆ V_FL_CONG_THRES

#define V_FL_CONG_THRES (   x)    ((x) << S_FL_CONG_THRES)

Definition at line 194 of file cxgb_sge_defs.h.

◆ V_FL_ENTRY_SIZE_HI

#define V_FL_ENTRY_SIZE_HI (   x)    ((x) << S_FL_ENTRY_SIZE_HI)

Definition at line 189 of file cxgb_sge_defs.h.

◆ V_FL_ENTRY_SIZE_LO

#define V_FL_ENTRY_SIZE_LO (   x)    ((x) << S_FL_ENTRY_SIZE_LO)

Definition at line 184 of file cxgb_sge_defs.h.

◆ V_FL_GEN

#define V_FL_GEN (   x)    ((x) << S_FL_GEN)

Definition at line 179 of file cxgb_sge_defs.h.

◆ V_FL_GTS

#define V_FL_GTS (   x)    ((x) << S_FL_GTS)

Definition at line 198 of file cxgb_sge_defs.h.

◆ V_FL_INDEX_HI

#define V_FL_INDEX_HI (   x)    ((x) << S_FL_INDEX_HI)

Definition at line 170 of file cxgb_sge_defs.h.

◆ V_FL_INDEX_LO

#define V_FL_INDEX_LO (   x)    ((x) << S_FL_INDEX_LO)

Definition at line 165 of file cxgb_sge_defs.h.

◆ V_FL_SIZE

#define V_FL_SIZE (   x)    ((x) << S_FL_SIZE)

Definition at line 175 of file cxgb_sge_defs.h.

◆ V_FLD_GEN1

#define V_FLD_GEN1 (   x)    ((x) << S_FLD_GEN1)

Definition at line 202 of file cxgb_sge_defs.h.

◆ V_FLD_GEN2

#define V_FLD_GEN2 (   x)    ((x) << S_FLD_GEN2)

Definition at line 206 of file cxgb_sge_defs.h.

◆ V_RQ_GEN

#define V_RQ_GEN (   x)    ((x) << S_RQ_GEN)

Definition at line 101 of file cxgb_sge_defs.h.

◆ V_RQ_INTR_EN

#define V_RQ_INTR_EN (   x)    ((x) << S_RQ_INTR_EN)

Definition at line 97 of file cxgb_sge_defs.h.

◆ V_RQ_MSI_VEC

#define V_RQ_MSI_VEC (   x)    ((x) << S_RQ_MSI_VEC)

Definition at line 93 of file cxgb_sge_defs.h.

◆ V_RSPD_ASYNC_NOTIF

#define V_RSPD_ASYNC_NOTIF (   x)    ((x) << S_RSPD_ASYNC_NOTIF)

Definition at line 249 of file cxgb_sge_defs.h.

◆ V_RSPD_EOP

#define V_RSPD_EOP (   x)    ((x) << S_RSPD_EOP)

Definition at line 237 of file cxgb_sge_defs.h.

◆ V_RSPD_FL0_GTS

#define V_RSPD_FL0_GTS (   x)    ((x) << S_RSPD_FL0_GTS)

Definition at line 253 of file cxgb_sge_defs.h.

◆ V_RSPD_FL1_GTS

#define V_RSPD_FL1_GTS (   x)    ((x) << S_RSPD_FL1_GTS)

Definition at line 257 of file cxgb_sge_defs.h.

◆ V_RSPD_FLQ

#define V_RSPD_FLQ (   x)    ((x) << S_RSPD_FLQ)

Definition at line 278 of file cxgb_sge_defs.h.

◆ V_RSPD_GEN1

#define V_RSPD_GEN1 (   x)    ((x) << S_RSPD_GEN1)

Definition at line 269 of file cxgb_sge_defs.h.

◆ V_RSPD_GEN2

#define V_RSPD_GEN2 (   x)    ((x) << S_RSPD_GEN2)

Definition at line 282 of file cxgb_sge_defs.h.

◆ V_RSPD_IMM_DATA_VALID

#define V_RSPD_IMM_DATA_VALID (   x)    ((x) << S_RSPD_IMM_DATA_VALID)

Definition at line 261 of file cxgb_sge_defs.h.

◆ V_RSPD_INR_VEC

#define V_RSPD_INR_VEC (   x)    ((x) << S_RSPD_INR_VEC)

Definition at line 287 of file cxgb_sge_defs.h.

◆ V_RSPD_LEN

#define V_RSPD_LEN (   x)    ((x) << S_RSPD_LEN)

Definition at line 274 of file cxgb_sge_defs.h.

◆ V_RSPD_OFFLOAD

#define V_RSPD_OFFLOAD (   x)    ((x) << S_RSPD_OFFLOAD)

Definition at line 265 of file cxgb_sge_defs.h.

◆ V_RSPD_SOP

#define V_RSPD_SOP (   x)    ((x) << S_RSPD_SOP)

Definition at line 242 of file cxgb_sge_defs.h.

◆ V_RSPD_TXQ0_CR

#define V_RSPD_TXQ0_CR (   x)    ((x) << S_RSPD_TXQ0_CR)

Definition at line 229 of file cxgb_sge_defs.h.

◆ V_RSPD_TXQ0_GTS

#define V_RSPD_TXQ0_GTS (   x)    ((x) << S_RSPD_TXQ0_GTS)

Definition at line 233 of file cxgb_sge_defs.h.

◆ V_RSPD_TXQ1_CR

#define V_RSPD_TXQ1_CR (   x)    ((x) << S_RSPD_TXQ1_CR)

Definition at line 211 of file cxgb_sge_defs.h.

◆ V_RSPD_TXQ1_GTS

#define V_RSPD_TXQ1_GTS (   x)    ((x) << S_RSPD_TXQ1_GTS)

Definition at line 215 of file cxgb_sge_defs.h.

◆ V_RSPD_TXQ2_CR

#define V_RSPD_TXQ2_CR (   x)    ((x) << S_RSPD_TXQ2_CR)

Definition at line 220 of file cxgb_sge_defs.h.

◆ V_RSPD_TXQ2_GTS

#define V_RSPD_TXQ2_GTS (   x)    ((x) << S_RSPD_TXQ2_GTS)

Definition at line 224 of file cxgb_sge_defs.h.