Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.h6557 #define BNX2_TX_DESC_CNT (BNX2_PAGE_SIZE / sizeof(struct bnx2_tx_bd)) macro
6558 #define BNX2_MAX_TX_DESC_CNT (BNX2_TX_DESC_CNT - 1)
6652 #define SW_TXBD_RING_SIZE (sizeof(struct bnx2_sw_tx_bd) * BNX2_TX_DESC_CNT)
6653 #define TXBD_RING_SIZE (sizeof(struct bnx2_tx_bd) * BNX2_TX_DESC_CNT)
Dbnx2.c255 if (unlikely(diff >= BNX2_TX_DESC_CNT)) { in bnx2_tx_avail()
257 if (diff == BNX2_TX_DESC_CNT) in bnx2_tx_avail()
5440 for (j = 0; j < BNX2_TX_DESC_CNT; ) { in bnx2_free_tx_skbs()