Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbnx2.c257 diff = BNX2_MAX_TX_DESC_CNT; in bnx2_tx_avail()
2835 if (unlikely((cons & BNX2_MAX_TX_DESC_CNT) == BNX2_MAX_TX_DESC_CNT)) in bnx2_get_hw_tx_cons()
2874 if (unlikely(last_ring_idx >= BNX2_MAX_TX_DESC_CNT)) { in bnx2_tx_int()
5178 txbd = &txr->tx_desc_ring[BNX2_MAX_TX_DESC_CNT]; in bnx2_init_tx_ring()
7317 ering->tx_max_pending = BNX2_MAX_TX_DESC_CNT; in bnx2_get_ringparam()
7386 (ering->tx_pending > BNX2_MAX_TX_DESC_CNT) || in bnx2_set_ringparam()
8309 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.c4579 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i++, txbd++) { in cnic_init_bnx2_tx_ring()
4927 for (i = 0; i < BNX2_MAX_TX_DESC_CNT; i += 3, txbd += 3) { in cnic_init_bnx2x_tx_ring()