Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h646 #define MAX_TX_DESC_CNT (TX_DESC_CNT - NEXT_PAGE_TX_DESC_CNT) macro
649 #define MAX_TX_AVAIL (MAX_TX_DESC_CNT * NUM_TX_RINGS - 2)
650 #define NEXT_TX_IDX(x) ((((x) & MAX_TX_DESC_CNT) == \
651 (MAX_TX_DESC_CNT - 1)) ? \
655 #define TX_BD_POFF(x) ((x) & MAX_TX_DESC_CNT)
659 (((bds) + MAX_TX_DESC_CNT - 1) / \
660 MAX_TX_DESC_CNT * NEXT_PAGE_TX_DESC_CNT)