Go to the documentation of this file.
47 #define CQ_DESC_TYPE_BITS 4
48 #define CQ_DESC_TYPE_MASK ((1 << CQ_DESC_TYPE_BITS) - 1)
49 #define CQ_DESC_COLOR_MASK 1
50 #define CQ_DESC_COLOR_SHIFT 7
51 #define CQ_DESC_Q_NUM_BITS 10
52 #define CQ_DESC_Q_NUM_MASK ((1 << CQ_DESC_Q_NUM_BITS) - 1)
53 #define CQ_DESC_COMP_NDX_BITS 12
54 #define CQ_DESC_COMP_NDX_MASK ((1 << CQ_DESC_COMP_NDX_BITS) - 1)
56 static inline void cq_desc_dec(
const struct cq_desc *desc_arg,