Searched refs:RX_DESC_CNT (Results 1 – 6 of 6) sorted by relevance
586 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd)) macro590 #define SW_RXBD_RING_SIZE (sizeof(struct bnxt_sw_rx_bd) * RX_DESC_CNT)591 #define HW_RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)593 #define SW_RXBD_AGG_RING_SIZE (sizeof(struct bnxt_sw_rx_agg_bd) * RX_DESC_CNT)600 #define BNXT_MAX_RX_DESC_CNT (RX_DESC_CNT * MAX_RX_PAGES - 1)601 #define BNXT_MAX_RX_JUM_DESC_CNT (RX_DESC_CNT * MAX_RX_AGG_PAGES - 1)604 #define RX_RING(x) (((x) & ~(RX_DESC_CNT - 1)) >> (BNXT_PAGE_SHIFT - 4))605 #define RX_IDX(x) ((x) & (RX_DESC_CNT - 1))
2541 max_idx = bp->rx_nr_pages * RX_DESC_CNT; in bnxt_free_rx_skbs()2542 max_agg_idx = bp->rx_agg_nr_pages * RX_DESC_CNT; in bnxt_free_rx_skbs()3148 for (j = 0; j < RX_DESC_CNT; j++, rxbd++, prod++) { in bnxt_init_rxbd_pages()3448 RX_DESC_CNT); in bnxt_set_ring_params()3453 agg_ring_size = MAX_RX_AGG_PAGES * RX_DESC_CNT - 1; in bnxt_set_ring_params()3458 bp->rx_agg_ring_mask = (bp->rx_agg_nr_pages * RX_DESC_CNT) - 1; in bnxt_set_ring_params()3467 bp->rx_nr_pages = bnxt_calc_nr_ring_pages(ring_size, RX_DESC_CNT); in bnxt_set_ring_params()3468 bp->rx_ring_mask = (bp->rx_nr_pages * RX_DESC_CNT) - 1; in bnxt_set_ring_params()
46 #define RX_DESC_CNT 0x30 /* Allocated Rx descriptors */ macro49 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)717 if (db->rx_avail_cnt<RX_DESC_CNT) in uli526x_interrupt()1341 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in uli526x_descriptor_init()1449 while(db->rx_avail_cnt < RX_DESC_CNT) { in allocate_rx_buffer()
103 #define RX_DESC_CNT 0x20 /* Allocated Rx descriptors */ macro106 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)822 if (db->rx_avail_cnt<RX_DESC_CNT) in dmfe_interrupt()1406 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in dmfe_descriptor_init()1553 while(db->rx_avail_cnt < RX_DESC_CNT) { in allocate_rx_buffer()
676 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd)) macro678 #define MAX_RX_DESC_CNT (RX_DESC_CNT - NEXT_PAGE_RX_DESC_CNT)679 #define RX_DESC_MASK (RX_DESC_CNT - 1)680 #define NUM_RX_BD (RX_DESC_CNT * NUM_RX_RINGS)
1036 rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2]; in bnx2x_set_next_page_rx_bd()