Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h652 #define MAX_TX_DESC_CNT (TX_DESC_CNT - NEXT_PAGE_TX_DESC_CNT) macro
655 #define MAX_TX_AVAIL (MAX_TX_DESC_CNT * NUM_TX_RINGS - 2)
656 #define NEXT_TX_IDX(x) ((((x) & MAX_TX_DESC_CNT) == \
657 (MAX_TX_DESC_CNT - 1)) ? \
661 #define TX_BD_POFF(x) ((x) & MAX_TX_DESC_CNT)
665 (((bds) + MAX_TX_DESC_CNT - 1) / \
666 MAX_TX_DESC_CNT * NEXT_PAGE_TX_DESC_CNT)