Home
last modified time | relevance | path

Searched refs:xdp_rxq (Results 1 – 25 of 58) sorted by relevance

123

/drivers/net/ethernet/intel/ice/
Dice_base.c454 if (!xdp_rxq_info_is_reg(&ring->xdp_rxq)) in ice_vsi_cfg_rxq()
456 xdp_rxq_info_reg(&ring->xdp_rxq, ring->netdev, in ice_vsi_cfg_rxq()
461 xdp_rxq_info_unreg_mem_model(&ring->xdp_rxq); in ice_vsi_cfg_rxq()
465 err = xdp_rxq_info_reg_mem_model(&ring->xdp_rxq, in ice_vsi_cfg_rxq()
470 xsk_pool_set_rxq_info(ring->xsk_pool, &ring->xdp_rxq); in ice_vsi_cfg_rxq()
475 if (!xdp_rxq_info_is_reg(&ring->xdp_rxq)) in ice_vsi_cfg_rxq()
477 xdp_rxq_info_reg(&ring->xdp_rxq, in ice_vsi_cfg_rxq()
481 err = xdp_rxq_info_reg_mem_model(&ring->xdp_rxq, in ice_vsi_cfg_rxq()
Dice_txrx.c437 if (xdp_rxq_info_is_reg(&rx_ring->xdp_rxq)) in ice_free_rx_ring()
438 xdp_rxq_info_unreg(&rx_ring->xdp_rxq); in ice_free_rx_ring()
489 !xdp_rxq_info_is_reg(&rx_ring->xdp_rxq)) in ice_setup_rx_ring()
490 if (xdp_rxq_info_reg(&rx_ring->xdp_rxq, rx_ring->netdev, in ice_setup_rx_ring()
1078 xdp_init_buff(&xdp, frame_sz, &rx_ring->xdp_rxq); in ice_clean_rx_irq()
Dice_txrx.h296 struct xdp_rxq_info xdp_rxq; member
/drivers/net/
Dveth.c67 struct xdp_rxq_info xdp_rxq; member
623 xdp.rxq = &rq->xdp_rxq; in veth_xdp_rcv_one()
771 xdp_init_buff(&xdp, frame_sz, &rq->xdp_rxq); in veth_xdp_rcv_skb()
1019 err = xdp_rxq_info_reg(&rq->xdp_rxq, dev, i, rq->xdp_napi.napi_id); in veth_enable_xdp_range()
1023 err = xdp_rxq_info_reg_mem_model(&rq->xdp_rxq, in veth_enable_xdp_range()
1030 rq->xdp_mem = rq->xdp_rxq.mem; in veth_enable_xdp_range()
1035 xdp_rxq_info_unreg(&priv->rq[i].xdp_rxq); in veth_enable_xdp_range()
1040 xdp_rxq_info_unreg(&rq->xdp_rxq); in veth_enable_xdp_range()
1057 rq->xdp_rxq.mem = rq->xdp_mem; in veth_disable_xdp_range()
1058 xdp_rxq_info_unreg(&rq->xdp_rxq); in veth_disable_xdp_range()
[all …]
Dtun.c147 struct xdp_rxq_info xdp_rxq; member
657 ntfile->xdp_rxq.queue_index = index; in __tun_detach()
689 xdp_rxq_info_unreg(&tfile->xdp_rxq); in __tun_detach()
739 xdp_rxq_info_unreg(&tfile->xdp_rxq); in tun_detach_all()
746 xdp_rxq_info_unreg(&tfile->xdp_rxq); in tun_detach_all()
803 WARN_ON(!xdp_rxq_info_is_reg(&tfile->xdp_rxq)); in tun_attach()
805 if (tfile->xdp_rxq.queue_index != tfile->queue_index) in tun_attach()
806 tfile->xdp_rxq.queue_index = tfile->queue_index; in tun_attach()
809 err = xdp_rxq_info_reg(&tfile->xdp_rxq, in tun_attach()
813 err = xdp_rxq_info_reg_mem_model(&tfile->xdp_rxq, in tun_attach()
[all …]
Dvirtio_net.c167 struct xdp_rxq_info xdp_rxq; member
792 xdp_init_buff(&xdp, buflen, &rq->xdp_rxq); in receive_small()
969 xdp_init_buff(&xdp, frame_sz - vi->hdr_len, &rq->xdp_rxq); in receive_mergeable()
1611 xdp_rxq_info_unreg(&vi->rq[qp_index].xdp_rxq); in virtnet_disable_queue_pair()
1619 err = xdp_rxq_info_reg(&vi->rq[qp_index].xdp_rxq, dev, qp_index, in virtnet_enable_queue_pair()
1624 err = xdp_rxq_info_reg_mem_model(&vi->rq[qp_index].xdp_rxq, in virtnet_enable_queue_pair()
1635 xdp_rxq_info_unreg(&vi->rq[qp_index].xdp_rxq); in virtnet_enable_queue_pair()
Dxen-netfront.c159 struct xdp_rxq_info xdp_rxq; member
979 &queue->xdp_rxq); in xennet_run_xdp()
2210 err = xdp_rxq_info_reg(&queue->xdp_rxq, queue->info->netdev, in xennet_create_page_pool()
2217 err = xdp_rxq_info_reg_mem_model(&queue->xdp_rxq, in xennet_create_page_pool()
2226 xdp_rxq_info_unreg(&queue->xdp_rxq); in xennet_create_page_pool()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.h71 struct xdp_rxq_info xdp_rxq; member
Ddpaa_eth.c1135 err = xdp_rxq_info_reg(&dpaa_fq->xdp_rxq, dpaa_fq->net_dev, in dpaa_fq_init()
1142 err = xdp_rxq_info_reg_mem_model(&dpaa_fq->xdp_rxq, in dpaa_fq_init()
1147 xdp_rxq_info_unreg(&dpaa_fq->xdp_rxq); in dpaa_fq_init()
1183 xdp_rxq_info_is_reg(&dpaa_fq->xdp_rxq)) in dpaa_fq_free_entry()
1184 xdp_rxq_info_unreg(&dpaa_fq->xdp_rxq); in dpaa_fq_free_entry()
2566 &dpaa_fq->xdp_rxq); in dpaa_run_xdp()
/drivers/net/hyperv/
Dnetvsc_bpf.c53 xdp_init_buff(xdp, PAGE_SIZE, &nvchan->xdp_rxq); in netvsc_run_xdp()
Dnetvsc.c161 xdp_rxq_info_unreg(&nvdev->chan_table[i].xdp_rxq); in free_netvsc_device()
1656 ret = xdp_rxq_info_reg(&nvchan->xdp_rxq, ndev, i, 0); in netvsc_device_add()
1663 ret = xdp_rxq_info_reg_mem_model(&nvchan->xdp_rxq, in netvsc_device_add()
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c78 return xdp_rxq_info_reg(&rq->xdp_rxq, rq->netdev, rq_xdp_ix, 0); in mlx5e_init_xsk_rq()
/drivers/net/ethernet/socionext/
Dnetsec.c287 struct xdp_rxq_info xdp_rxq; member
963 xdp_init_buff(&xdp, PAGE_SIZE, &dring->xdp_rxq); in netsec_process_rx()
1225 if (xdp_rxq_info_is_reg(&dring->xdp_rxq)) in netsec_uninit_pkt_dring()
1226 xdp_rxq_info_unreg(&dring->xdp_rxq); in netsec_uninit_pkt_dring()
1315 err = xdp_rxq_info_reg(&dring->xdp_rxq, priv->ndev, 0, priv->napi.napi_id); in netsec_setup_rx_dring()
1319 err = xdp_rxq_info_reg_mem_model(&dring->xdp_rxq, MEM_TYPE_PAGE_POOL, in netsec_setup_rx_dring()
/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c286 if (xdp_rxq_info_reg(&ring->xdp_rxq, priv->dev, queue_index, 0) < 0) in mlx4_en_create_rx_ring()
318 xdp_rxq_info_unreg(&ring->xdp_rxq); in mlx4_en_create_rx_ring()
442 xdp_rxq_info_unreg(&ring->xdp_rxq); in mlx4_en_destroy_rx_ring()
683 xdp_init_buff(&xdp, priv->frag_info[0].frag_stride, &ring->xdp_rxq); in mlx4_en_process_rx_cq()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.h255 struct xdp_rxq_info xdp_rxq; member
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h391 struct xdp_rxq_info xdp_rxq; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtrap.c49 xdp_rxq_info_unused(&rq->xdp_rxq); in mlx5e_init_trap_rq()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h98 struct xdp_rxq_info xdp_rxq; member
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.h252 struct xdp_rxq_info xdp_rxq; member
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h115 struct xdp_rxq_info xdp_rxq; member
Dethtool.c337 memset(&rx_ring[i].xdp_rxq, 0, in ixgbevf_set_ringparam()
338 sizeof(rx_ring[i].xdp_rxq)); in ixgbevf_set_ringparam()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c139 xdp_init_buff(&xdp, PAGE_SIZE, &rxr->xdp_rxq); in bnxt_rx_xdp()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h456 struct xdp_rxq_info xdp_rxq; member
/drivers/net/ethernet/intel/igc/
Digc_main.c499 xdp_rxq_info_unreg(&rx_ring->xdp_rxq); in igc_free_rx_resources()
542 if (xdp_rxq_info_is_reg(&rx_ring->xdp_rxq)) in igc_setup_rx_resources()
543 xdp_rxq_info_unreg(&rx_ring->xdp_rxq); in igc_setup_rx_resources()
544 res = xdp_rxq_info_reg(&rx_ring->xdp_rxq, ndev, index, in igc_setup_rx_resources()
576 xdp_rxq_info_unreg(&rx_ring->xdp_rxq); in igc_setup_rx_resources()
635 xdp_rxq_info_unreg_mem_model(&ring->xdp_rxq); in igc_configure_rx_ring()
638 WARN_ON(xdp_rxq_info_reg_mem_model(&ring->xdp_rxq, in igc_configure_rx_ring()
641 xsk_pool_set_rxq_info(ring->xsk_pool, &ring->xdp_rxq); in igc_configure_rx_ring()
643 WARN_ON(xdp_rxq_info_reg_mem_model(&ring->xdp_rxq, in igc_configure_rx_ring()
2536 xdp_init_buff(&xdp, truesize, &rx_ring->xdp_rxq); in igc_clean_rx_irq()
/drivers/net/ethernet/ti/
Dcpsw_priv.h378 struct xdp_rxq_info xdp_rxq[CPSW_MAX_QUEUES]; member

123