Searched refs:RX_DESC_CNT (Results 1 – 6 of 6) sorted by relevance
596 #define RX_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct rx_bd)) macro600 #define SW_RXBD_RING_SIZE (sizeof(struct bnxt_sw_rx_bd) * RX_DESC_CNT)601 #define HW_RXBD_RING_SIZE (sizeof(struct rx_bd) * RX_DESC_CNT)603 #define SW_RXBD_AGG_RING_SIZE (sizeof(struct bnxt_sw_rx_agg_bd) * RX_DESC_CNT)610 #define BNXT_MAX_RX_DESC_CNT (RX_DESC_CNT * MAX_RX_PAGES - 1)611 #define BNXT_MAX_RX_JUM_DESC_CNT (RX_DESC_CNT * MAX_RX_AGG_PAGES - 1)614 #define RX_RING(x) (((x) & ~(RX_DESC_CNT - 1)) >> (BNXT_PAGE_SHIFT - 4))615 #define RX_IDX(x) ((x) & (RX_DESC_CNT - 1))
2592 max_idx = bp->rx_nr_pages * RX_DESC_CNT; in bnxt_free_one_rx_ring_skbs()2593 max_agg_idx = bp->rx_agg_nr_pages * RX_DESC_CNT; in bnxt_free_one_rx_ring_skbs()3201 for (j = 0; j < RX_DESC_CNT; j++, rxbd++, prod++) { in bnxt_init_rxbd_pages()3500 RX_DESC_CNT); in bnxt_set_ring_params()3505 agg_ring_size = MAX_RX_AGG_PAGES * RX_DESC_CNT - 1; in bnxt_set_ring_params()3510 bp->rx_agg_ring_mask = (bp->rx_agg_nr_pages * RX_DESC_CNT) - 1; in bnxt_set_ring_params()3519 bp->rx_nr_pages = bnxt_calc_nr_ring_pages(ring_size, RX_DESC_CNT); in bnxt_set_ring_params()3520 bp->rx_ring_mask = (bp->rx_nr_pages * RX_DESC_CNT) - 1; in bnxt_set_ring_params()
44 #define RX_DESC_CNT 0x30 /* Allocated Rx descriptors */ macro47 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)713 if (db->rx_avail_cnt<RX_DESC_CNT) in uli526x_interrupt()1303 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in uli526x_descriptor_init()1411 while(db->rx_avail_cnt < RX_DESC_CNT) { in allocate_rx_buffer()
101 #define RX_DESC_CNT 0x20 /* Allocated Rx descriptors */ macro104 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)817 if (db->rx_avail_cnt<RX_DESC_CNT) in dmfe_interrupt()1400 for (tmp_rx = db->first_rx_desc, i = 0; i < RX_DESC_CNT; i++, tmp_rx++) { in dmfe_descriptor_init()1547 while(db->rx_avail_cnt < RX_DESC_CNT) { in allocate_rx_buffer()
682 #define RX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_bd)) macro684 #define MAX_RX_DESC_CNT (RX_DESC_CNT - NEXT_PAGE_RX_DESC_CNT)685 #define RX_DESC_MASK (RX_DESC_CNT - 1)686 #define NUM_RX_BD (RX_DESC_CNT * NUM_RX_RINGS)
1034 rx_bd = &fp->rx_desc_ring[RX_DESC_CNT * i - 2]; in bnx2x_set_next_page_rx_bd()