Home
last modified time | relevance | path

Searched refs:BNX2_MAX_TX_DESC_CNT (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/broadcom/
Dbnx2.c258 diff = BNX2_MAX_TX_DESC_CNT; in bnx2_tx_avail()
2836 if (unlikely((cons & BNX2_MAX_TX_DESC_CNT) == BNX2_MAX_TX_DESC_CNT)) in bnx2_get_hw_tx_cons()
2875 if (unlikely(last_ring_idx >= BNX2_MAX_TX_DESC_CNT)) { in bnx2_tx_int()
5195 txbd = &txr->tx_desc_ring[BNX2_MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()
7334 ering->tx_max_pending = BNX2_MAX_TX_DESC_CNT; in bnx2_get_ringparam()
7403 (ering->tx_pending > BNX2_MAX_TX_DESC_CNT) || in bnx2_set_ringparam()
8333 bp->tx_ring_size = BNX2_MAX_TX_DESC_CNT; in bnx2_init_board()
Dbnx2.h6558 #define BNX2_MAX_TX_DESC_CNT (BNX2_TX_DESC_CNT - 1) macro
6568 #define BNX2_NEXT_TX_BD(x) (((x) & (BNX2_MAX_TX_DESC_CNT - 1)) == \
6569 (BNX2_MAX_TX_DESC_CNT - 1)) ? \
6572 #define BNX2_TX_RING_IDX(x) ((x) & BNX2_MAX_TX_DESC_CNT)
Dcnic.c4581 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()
4929 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()