| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.c | 124 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; in bnxt_tx_int_xdp() local 157 page_pool_recycle_direct(rxr->page_pool, tx_buf->page); in bnxt_tx_int_xdp() 170 bnxt_db_write(bp, &rxr->rx_db, tx_buf->rx_prod); in bnxt_tx_int_xdp() 175 bool bnxt_xdp_attached(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) in bnxt_xdp_attached() argument 177 struct bpf_prog *xdp_prog = READ_ONCE(rxr->xdp_prog); in bnxt_xdp_attached() 182 void bnxt_xdp_buff_init(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, in bnxt_xdp_buff_init() argument 186 u32 buflen = rxr->rx_page_size; in bnxt_xdp_buff_init() 193 rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_xdp_buff_init() 199 xdp_init_buff(xdp, buflen, &rxr->xdp_rxq); in bnxt_xdp_buff_init() 203 void bnxt_xdp_buff_frags_free(struct bnxt_rx_ring_info *rxr, in bnxt_xdp_buff_frags_free() argument 224 bnxt_rx_xdp(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,struct xdp_buff * xdp,struct page * page,u8 ** data_ptr,unsigned int * len,u8 * event) bnxt_rx_xdp() argument 462 bnxt_xdp_build_skb(struct bnxt * bp,struct sk_buff * skb,u8 num_frags,struct bnxt_rx_ring_info * rxr,struct xdp_buff * xdp) bnxt_xdp_build_skb() argument [all...] |
| H A D | bnxt.c | 401 static void bnxt_sched_reset_rxr(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) in bnxt_sched_reset_rxr() argument 403 if (!rxr->bnapi->in_reset) { in bnxt_sched_reset_rxr() 404 rxr->bnapi->in_reset = true; in bnxt_sched_reset_rxr() 411 rxr->rx_next_cons = 0xffff; in bnxt_sched_reset_rxr() 955 static bool bnxt_separate_head_pool(struct bnxt_rx_ring_info *rxr) in bnxt_separate_head_pool() argument 957 return rxr->need_head_pool || rxr->rx_page_size < PAGE_SIZE; in bnxt_separate_head_pool() 961 struct bnxt_rx_ring_info *rxr, in __bnxt_alloc_rx_page() argument 967 if (rxr->rx_page_size < PAGE_SIZE) { in __bnxt_alloc_rx_page() 968 page = page_pool_dev_alloc_frag(rxr in __bnxt_alloc_rx_page() 982 __bnxt_alloc_rx_netmem(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_netmem() argument 1003 __bnxt_alloc_rx_frag(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,gfp_t gfp) __bnxt_alloc_rx_frag() argument 1018 bnxt_alloc_rx_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_data() argument 1053 bnxt_reuse_rx_data(struct bnxt_rx_ring_info * rxr,u16 cons,void * data) bnxt_reuse_rx_data() argument 1075 bnxt_find_next_agg_idx(struct bnxt_rx_ring_info * rxr,u16 idx) bnxt_find_next_agg_idx() argument 1085 bnxt_alloc_rx_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_netmem() argument 1128 bnxt_get_tpa_agg_p5(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id,u16 curr) bnxt_get_tpa_agg_p5() argument 1141 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnxt_reuse_rx_agg_bufs() local 1194 bnxt_rx_multi_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_multi_page_skb() argument 1229 bnxt_rx_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_page_skb() argument 1276 bnxt_rx_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_skb() argument 1313 struct bnxt_rx_ring_info *rxr; __bnxt_rx_agg_netmems() local 1536 bnxt_alloc_agg_idx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id) bnxt_alloc_agg_idx() argument 1553 bnxt_free_agg_idx(struct bnxt_rx_ring_info * rxr,u16 idx) bnxt_free_agg_idx() argument 1560 bnxt_lookup_agg_idx(struct bnxt_rx_ring_info * rxr,u16 agg_id) bnxt_lookup_agg_idx() argument 1598 bnxt_tpa_start(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u8 cmp_type,struct rx_tpa_start_cmp * tpa_start,struct rx_tpa_start_cmp_ext * tpa_start1) bnxt_tpa_start() argument 1912 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnxt_tpa_end() local 2057 bnxt_tpa_agg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct rx_agg_cmp * rx_agg) bnxt_tpa_agg() argument 2151 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnxt_rx_pkt() local 2908 struct bnxt_rx_ring_info *rxr; bnxt_async_event_process() local 3181 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; __bnxt_poll_work_done() local 3187 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; __bnxt_poll_work_done() local 3217 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnxt_poll_nitroa0() local 3562 bnxt_free_one_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring() argument 3583 bnxt_free_one_rx_agg_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_agg_ring() argument 3604 bnxt_free_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info_data() argument 3621 bnxt_free_one_rx_ring_skbs(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring_skbs() argument 3798 bnxt_free_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info() argument 3819 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_free_tpa_info() local 3826 bnxt_alloc_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info() argument 3870 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_alloc_tpa_info() local 3888 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_free_rx_rings() local 3913 bnxt_rx_agg_ring_fill_level(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_rx_agg_ring_fill_level() argument 3928 bnxt_alloc_rx_page_pool(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int numa_node) bnxt_alloc_rx_page_pool() argument 3978 bnxt_enable_rx_page_pool(struct bnxt_rx_ring_info * rxr) bnxt_enable_rx_page_pool() argument 3984 bnxt_alloc_rx_agg_bmap(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_rx_agg_bmap() argument 4009 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_alloc_rx_rings() local 4389 bnxt_init_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_rx_ring_struct() argument 4414 bnxt_reset_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_reset_rx_ring_struct() argument 4456 struct bnxt_rx_ring_info *rxr; bnxt_init_ring_struct() local 4534 bnxt_alloc_one_rx_ring_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_skb() argument 4553 bnxt_alloc_one_rx_ring_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_netmem() argument 4574 bnxt_alloc_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info_data() argument 4596 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[ring_nr]; bnxt_alloc_one_rx_ring() local 4615 bnxt_init_one_rx_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_ring_rxbd() argument 4632 bnxt_init_one_rx_agg_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_agg_ring_rxbd() argument 4659 struct bnxt_rx_ring_info *rxr; bnxt_init_one_rx_ring() local 5444 struct bnxt_rx_ring_info *rxr; bnxt_clear_ring_indices() local 5654 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_alloc_mem() local 6648 bnxt_cp_ring_for_rx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_cp_ring_for_rx() argument 6771 struct bnxt_rx_ring_info *rxr; bnxt_fill_hw_rss_tbl_p5() local 6989 struct bnxt_rx_ring_info *rxr; bnxt_hwrm_vnic_cfg() local 7237 bnxt_set_rx_ring_params_p5(struct bnxt * bp,u32 ring_type,struct hwrm_ring_alloc_input * req,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring) bnxt_set_rx_ring_params_p5() argument 7261 hwrm_ring_alloc_send_msg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring,u32 ring_type,u32 map_index) hwrm_ring_alloc_send_msg() argument 7459 bnxt_hwrm_rx_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_ring_alloc() argument 7478 bnxt_hwrm_rx_agg_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_agg_ring_alloc() argument 7583 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_hwrm_ring_alloc() local 7622 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_cancel_dim() local 7680 bnxt_hwrm_rx_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_ring_free() argument 7700 bnxt_hwrm_rx_agg_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_agg_ring_free() argument 14365 struct bnxt_rx_ring_info *rxr = bnapi->rx_ring; bnxt_dump_rx_sw_state() local 14411 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[ring_nr]; bnxt_hwrm_rx_ring_reset() local 14619 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[i]; bnxt_rx_ring_reset() local 16357 struct bnxt_rx_ring_info *rxr, *clone; bnxt_queue_mem_alloc() local 16453 struct bnxt_rx_ring_info *rxr = qmem; bnxt_queue_mem_free() local 16539 struct bnxt_rx_ring_info *rxr, *clone; bnxt_queue_start() local 16618 struct bnxt_rx_ring_info *rxr; bnxt_queue_stop() local [all...] |
| H A D | bnxt_ethtool.c | 5098 struct bnxt_rx_ring_info *rxr; in bnxt_rx_loopback() 5106 rxr = bnapi->rx_ring; in bnxt_rx_loopback() 5111 rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_rx_loopback() 5166 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[0]; in bnxt_run_loopback() 5174 cpr = &rxr->bnapi->cp_ring; in bnxt_run_loopback() 5176 cpr = rxr->rx_cpr; in bnxt_run_loopback() 5097 struct bnxt_rx_ring_info *rxr; bnxt_rx_loopback() local 5165 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[0]; bnxt_run_loopback() local
|
| H A D | bnxt.h | 2971 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, 2973 void bnxt_reuse_rx_data(struct bnxt_rx_ring_info *rxr, u16 cons, void *data);
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_netdev.c | 671 static bool bnge_separate_head_pool(struct bnge_rx_ring_info *rxr) in bnge_separate_head_pool() argument 673 return rxr->need_head_pool || PAGE_SIZE > BNGE_RX_PAGE_SIZE; in bnge_separate_head_pool() 677 struct bnge_rx_ring_info *rxr) in bnge_free_one_rx_ring_bufs() argument 681 if (!rxr->rx_buf_ring) in bnge_free_one_rx_ring_bufs() 687 struct bnge_sw_rx_bd *rx_buf = &rxr->rx_buf_ring[i]; in bnge_free_one_rx_ring_bufs() 694 page_pool_free_va(rxr->head_pool, data, true); in bnge_free_one_rx_ring_bufs() 699 struct bnge_rx_ring_info *rxr) in bnge_free_one_agg_ring_bufs() argument 703 if (!rxr->rx_agg_buf_ring) in bnge_free_one_agg_ring_bufs() 709 struct bnge_sw_rx_agg_bd *rx_agg_buf = &rxr->rx_agg_buf_ring[i]; in bnge_free_one_agg_ring_bufs() 716 __clear_bit(i, rxr in bnge_free_one_agg_ring_bufs() 723 bnge_free_one_tpa_info_data(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_free_one_tpa_info_data() argument 740 bnge_free_one_rx_ring_pair_bufs(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_free_one_rx_ring_pair_bufs() argument 829 struct bnge_rx_ring_info *rxr = &bn->rx_ring[i]; bnge_free_tpa_info() local 854 struct bnge_rx_ring_info *rxr = &bn->rx_ring[i]; bnge_alloc_tpa_info() local 886 struct bnge_rx_ring_info *rxr = &bn->rx_ring[i]; bnge_free_rx_rings() local 905 bnge_alloc_rx_page_pool(struct bnge_net * bn,struct bnge_rx_ring_info * rxr,int numa_node) bnge_alloc_rx_page_pool() argument 948 bnge_enable_rx_page_pool(struct bnge_rx_ring_info * rxr) bnge_enable_rx_page_pool() argument 955 bnge_alloc_rx_agg_bmap(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_alloc_rx_agg_bmap() argument 977 struct bnge_rx_ring_info *rxr = &bn->rx_ring[i]; bnge_alloc_rx_rings() local 1249 struct bnge_rx_ring_info *rxr = &bn->rx_ring[i]; bnge_alloc_core() local 1331 bnge_cp_ring_for_rx(struct bnge_rx_ring_info * rxr) bnge_cp_ring_for_rx() argument 1391 __bnge_alloc_rx_netmem(struct bnge_net * bn,dma_addr_t * mapping,struct bnge_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnge_alloc_rx_netmem() argument 1412 __bnge_alloc_rx_frag(struct bnge_net * bn,dma_addr_t * mapping,struct bnge_rx_ring_info * rxr,gfp_t gfp) __bnge_alloc_rx_frag() argument 1427 bnge_alloc_rx_data(struct bnge_net * bn,struct bnge_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnge_alloc_rx_data() argument 1450 bnge_alloc_one_rx_ring_bufs(struct bnge_net * bn,struct bnge_rx_ring_info * rxr,int ring_nr) bnge_alloc_one_rx_ring_bufs() argument 1480 bnge_find_next_agg_idx(struct bnge_rx_ring_info * rxr,u16 idx) bnge_find_next_agg_idx() argument 1491 bnge_alloc_rx_netmem(struct bnge_net * bn,struct bnge_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnge_alloc_rx_netmem() argument 1522 bnge_alloc_one_agg_ring_bufs(struct bnge_net * bn,struct bnge_rx_ring_info * rxr,int ring_nr) bnge_alloc_one_agg_ring_bufs() argument 1556 bnge_alloc_one_tpa_info_data(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_alloc_one_tpa_info_data() argument 1581 struct bnge_rx_ring_info *rxr = &bn->rx_ring[ring_nr]; bnge_alloc_one_rx_ring_pair_bufs() local 1628 bnge_init_one_rx_ring_rxbd(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_init_one_rx_ring_rxbd() argument 1645 bnge_init_one_agg_ring_rxbd(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_init_one_agg_ring_rxbd() argument 1662 struct bnge_rx_ring_info *rxr; bnge_init_one_rx_ring_pair() local 1853 bnge_hwrm_rx_agg_ring_alloc(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_hwrm_rx_agg_ring_alloc() argument 1877 bnge_hwrm_rx_ring_alloc(struct bnge_net * bn,struct bnge_rx_ring_info * rxr) bnge_hwrm_rx_ring_alloc() argument 1941 struct bnge_rx_ring_info *rxr = &bn->rx_ring[i]; bnge_hwrm_ring_alloc() local 1983 struct bnge_rx_ring_info *rxr; bnge_fill_hw_rss_tbl() local 2443 bnge_hwrm_rx_ring_free(struct bnge_net * bn,struct bnge_rx_ring_info * rxr,bool close_path) bnge_hwrm_rx_ring_free() argument 2463 bnge_hwrm_rx_agg_ring_free(struct bnge_net * bn,struct bnge_rx_ring_info * rxr,bool close_path) bnge_hwrm_rx_agg_ring_free() argument [all...] |
| H A D | bnge_netdev.h | 639 u32 bnge_cp_ring_for_rx(struct bnge_rx_ring_info *rxr); 642 int bnge_alloc_rx_data(struct bnge_net *bn, struct bnge_rx_ring_info *rxr, 644 u16 bnge_find_next_agg_idx(struct bnge_rx_ring_info *rxr, u16 idx); 646 struct bnge_rx_ring_info *rxr, gfp_t gfp); 647 int bnge_alloc_rx_netmem(struct bnge_net *bn, struct bnge_rx_ring_info *rxr,
|
| H A D | bnge_hwrm_lib.c | 838 struct bnge_rx_ring_info *rxr = &bn->rx_ring[0]; in bnge_hwrm_vnic_cfg() local 848 cpu_to_le16(rxr->rx_ring_struct.fw_ring_id); in bnge_hwrm_vnic_cfg() 850 cpu_to_le16(bnge_cp_ring_for_rx(rxr)); in bnge_hwrm_vnic_cfg()
|
| /linux/drivers/net/ethernet/sgi/ |
| H A D | ioc3-eth.c | 84 unsigned long *rxr; /* pointer to receiver ring */ member 371 unsigned long *rxr; in ioc3_rx() local 375 rxr = ip->rxr; /* Ring base */ in ioc3_rx() 396 d = rxr[rx_entry]; in ioc3_rx() 405 dma_unmap_single(ip->dma_dev, rxr[rx_entry], in ioc3_rx() 420 d = rxr[rx_entry]; in ioc3_rx() 430 rxr[n_entry] = cpu_to_be64(ioc3_map(d, PCI64_ATTR_BAR)); in ioc3_rx() 660 be64_to_cpu(ip->rxr[n_entry]), in ioc3_free_rx_bufs() 684 ip->rxr[i] = cpu_to_be64(ioc3_map(d, PCI64_ATTR_BAR)); in ioc3_alloc_rx_bufs() 885 ip->rxr = dma_alloc_coherent(ip->dma_dev, RX_RING_SIZE, &ip->rxr_dma, in ioc3eth_probe() [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 1448 struct fbnic_ring *rxr) in fbnic_aggregate_ring_bdq_counters() 1450 struct fbnic_queue_stats *stats = &rxr->stats; in fbnic_aggregate_ring_bdq_counters() 1535 struct fbnic_ring *rxr) 1537 if (!(rxr->flags & FBNIC_RING_F_STATS)) in fbnic_free_qt_page_pools() 1540 fbnic_aggregate_ring_rx_counters(fbn, rxr); in fbnic_free_qt_page_pools() 1543 WARN_ON(fbn->rx[rxr->q_idx] && fbn->rx[rxr->q_idx] != rxr); in fbnic_free_napi_vector() 1544 fbn->rx[rxr->q_idx] = NULL; in fbnic_free_napi_vector() 1945 struct fbnic_ring *rxr) in fbnic_alloc_rx_ring_desc() 1428 fbnic_aggregate_ring_rx_counters(struct fbnic_net * fbn,struct fbnic_ring * rxr) fbnic_aggregate_ring_rx_counters() argument 1515 fbnic_remove_rx_ring(struct fbnic_net * fbn,struct fbnic_ring * rxr) fbnic_remove_rx_ring() argument 1912 fbnic_alloc_rx_ring_desc(struct fbnic_net * fbn,struct fbnic_ring * rxr) fbnic_alloc_rx_ring_desc() argument 1950 fbnic_alloc_rx_ring_buffer(struct fbnic_ring * rxr) fbnic_alloc_rx_ring_buffer() argument 1965 fbnic_alloc_rx_ring_resources(struct fbnic_net * fbn,struct fbnic_ring * rxr) fbnic_alloc_rx_ring_resources() argument 2237 fbnic_disable_rcq(struct fbnic_ring * rxr) fbnic_disable_rcq() argument [all...] |
| H A D | fbnic_netdev.c | 488 struct fbnic_ring *rxr = fbn->rx[i]; in fbnic_get_stats64() local 490 if (!rxr) in fbnic_get_stats64() 493 stats = &rxr->stats; in fbnic_get_stats64() 579 struct fbnic_ring *rxr = fbn->rx[idx]; in fbnic_get_queue_stats_rx() local 586 if (!rxr) in fbnic_get_queue_stats_rx() 590 qt = container_of(rxr, struct fbnic_q_triad, cmpl); in fbnic_get_queue_stats_rx() 592 stats = &rxr->stats; in fbnic_get_queue_stats_rx()
|
| H A D | fbnic_txrx.h | 193 struct fbnic_ring *rxr); 195 struct fbnic_ring *rxr);
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_txrx.h | 312 bool iavf_alloc_rx_buffers(struct iavf_ring *rxr, u16 cleaned_count);
|
| /linux/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_netdev.c | 187 struct ena_ring *txr, *rxr; in ena_init_io_rings() local 194 rxr = &adapter->rx_ring[i]; in ena_init_io_rings() 212 ena_init_io_rings_common(adapter, rxr, i); in ena_init_io_rings() 215 rxr->ring_size = adapter->requested_rx_ring_size; in ena_init_io_rings() 216 rxr->rx_copybreak = adapter->rx_copybreak; in ena_init_io_rings() 217 rxr->sgl_size = adapter->max_rx_sgl_size; in ena_init_io_rings() 218 rxr->smoothed_interval = in ena_init_io_rings() 220 rxr->empty_rx_queue = 0; in ena_init_io_rings() 221 rxr->rx_headroom = NET_SKB_PAD; in ena_init_io_rings() 223 rxr in ena_init_io_rings() [all...] |
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_txrx.h | 466 bool i40e_alloc_rx_buffers(struct i40e_ring *rxr, u16 cleaned_count);
|
| H A D | i40e_main.c | 13384 struct i40e_ring *rxr = vsi->rx_rings[queue_pair]; in i40e_queue_pair_toggle_napi() 13385 struct i40e_q_vector *q_vector = rxr->q_vector; in i40e_queue_pair_toggle_napi() 13460 struct i40e_ring *rxr = vsi->rx_rings[queue_pair]; in i40e_queue_pair_enable_irq() 13466 i40e_irq_dynamic_enable(vsi, rxr->q_vector->v_idx); in i40e_queue_pair_enable_irq() 13480 struct i40e_ring *rxr = vsi->rx_rings[queue_pair]; in i40e_queue_pair_disable_irq() 13491 u32 intpf = vsi->base_vector + rxr->q_vector->v_idx; in i40e_queue_pair_disable_irq() 13380 struct i40e_ring *rxr = vsi->rx_rings[queue_pair]; i40e_queue_pair_toggle_napi() local 13456 struct i40e_ring *rxr = vsi->rx_rings[queue_pair]; i40e_queue_pair_enable_irq() local 13476 struct i40e_ring *rxr = vsi->rx_rings[queue_pair]; i40e_queue_pair_disable_irq() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xsk.c | 155 struct xsk_ring_cons *rxr; in xsk_configure_socket() local 172 rxr = ifobject->rx_on ? &xsk->rx : NULL; in xsk_configure_socket() 173 return xsk_socket__create(&xsk->xsk, ifobject->ifindex, 0, umem->umem, rxr, txr, &cfg); in xsk_configure_socket()
|