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