Searched refs:MAX_TX_DESC_CNT (Results 1 – 4 of 4) sorted by relevance
457 #define MAX_TX_DESC_CNT (TX_DESC_CNT - 1) macro460 #define MAX_TX_AVAIL (MAX_TX_DESC_CNT * NUM_TX_RINGS - 2)463 #define NEXT_TX_IDX(x) ((((x) & MAX_TX_DESC_CNT) == \464 (MAX_TX_DESC_CNT - 1)) ? (x) + 2 : (x) + 1)466 #define TX_BD_POFF(x) ((x) & MAX_TX_DESC_CNT)
264 diff = MAX_TX_DESC_CNT; in bnx2_tx_avail()2765 if (unlikely((cons & MAX_TX_DESC_CNT) == MAX_TX_DESC_CNT)) in bnx2_get_hw_tx_cons()2803 if (unlikely(last_ring_idx >= MAX_TX_DESC_CNT)) { in bnx2_tx_int()5062 txbd = &txr->tx_desc_ring[MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()7091 ering->tx_max_pending = MAX_TX_DESC_CNT; in bnx2_get_ringparam()7146 (ering->tx_pending > MAX_TX_DESC_CNT) || in bnx2_set_ringparam()8118 bp->tx_ring_size = MAX_TX_DESC_CNT; in bnx2_init_board()
6507 #define MAX_TX_DESC_CNT (TX_DESC_CNT - 1) macro6516 #define NEXT_TX_BD(x) (((x) & (MAX_TX_DESC_CNT - 1)) == \6517 (MAX_TX_DESC_CNT - 1)) ? \6520 #define TX_RING_IDX(x) ((x) & MAX_TX_DESC_CNT)
4272 for (i = 0; i < MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()4619 for (i = 0; i < MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()