Home
last modified time | relevance | path

Searched refs:MAX_KCQE_CNT (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dcnic.h87 #define MAX_KCQE_CNT (KCQE_CNT - 1) macro
95 #define KCQ_PG(x) (((x) & ~MAX_KCQE_CNT) >> (BNX2_PAGE_BITS - 5))
96 #define KCQ_IDX(x) ((x) & MAX_KCQE_CNT)
98 #define BNX2X_NEXT_KCQE(x) (((x) & (MAX_KCQE_CNT - 1)) == \
99 (MAX_KCQE_CNT - 1)) ? \
H A Dcnic.c971 if ((idx & MAX_KCQE_CNT) == MAX_KCQE_CNT) in cnic_bnx2x_next_idx()
979 if ((idx & MAX_KCQE_CNT) == MAX_KCQE_CNT) in cnic_bnx2x_hw_idx()
1010 (struct bnx2x_bd_chain_next *) &kcq[i][MAX_KCQE_CNT]; in cnic_alloc_kcq()