Searched refs:nb_tx_pages (Results 1 – 3 of 3) sorted by relevance
255 txq->nb_tx_pages = 1; in bnx2x_dev_tx_queue_setup()257 txq->nb_tx_pages <<= 1; in bnx2x_dev_tx_queue_setup()271 (unsigned long)TOTAL_TX_BD(txq), txq->nb_tx_pages); in bnx2x_dev_tx_queue_setup()297 for (i = 1; i <= txq->nb_tx_pages; i++) { in bnx2x_dev_tx_queue_setup()299 busaddr = txq->tx_ring_phys_addr + BNX2X_PAGE_SIZE * (i % txq->nb_tx_pages); in bnx2x_dev_tx_queue_setup()
60 uint16_t nb_tx_pages; /**< number of TX pages */ member
148 #define TOTAL_TX_BD(q) (TOTAL_TX_BD_PER_PAGE * q->nb_tx_pages) /* 512 */149 #define USABLE_TX_BD(q) (USABLE_TX_BD_PER_PAGE * q->nb_tx_pages) /* 510 */