Home
last modified time | relevance | path

Searched refs:xdp_tx (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c345 struct qede_tx_queue *xdp_tx; in qede_xdp_transmit() local
358 xdp_tx = edev->fp_array[i].xdp_tx; in qede_xdp_transmit()
360 spin_lock(&xdp_tx->xdp_tx_lock); in qede_xdp_transmit()
374 if (unlikely(qede_xdp_xmit(xdp_tx, mapping, 0, xdpf->len, in qede_xdp_transmit()
382 xdp_prod = qed_chain_get_prod_idx(&xdp_tx->tx_pbl); in qede_xdp_transmit()
384 xdp_tx->tx_db.data.bd_prod = cpu_to_le16(xdp_prod); in qede_xdp_transmit()
385 qede_update_tx_producer(xdp_tx); in qede_xdp_transmit()
388 spin_unlock(&xdp_tx->xdp_tx_lock); in qede_xdp_transmit()
1131 if (unlikely(qede_xdp_xmit(fp->xdp_tx, bd->mapping, in qede_rx_xdp()
1413 if (qede_txq_has_work(fp->xdp_tx)) in qede_poll_is_more_work()
[all …]
Dqede_main.c898 kfree(fp->xdp_tx); in qede_free_fp_array()
961 fp->xdp_tx = kzalloc(sizeof(*fp->xdp_tx), in qede_alloc_fp_array()
963 if (!fp->xdp_tx) in qede_alloc_fp_array()
1608 qede_free_mem_txq(edev, fp->xdp_tx); in qede_free_mem_fp()
1636 rc = qede_alloc_mem_txq(edev, fp->xdp_tx); in qede_alloc_mem_fp()
1753 fp->xdp_tx->index = QEDE_TXQ_IDX_TO_XDP(edev, in qede_init_fp()
1755 fp->xdp_tx->is_xdp = 1; in qede_init_fp()
1757 spin_lock_init(&fp->xdp_tx->xdp_tx_lock); in qede_init_fp()
2036 rc = qede_drain_txq(edev, fp->xdp_tx, true); in qede_stop_queues()
2068 rc = qede_stop_txq(edev, fp->xdp_tx, i); in qede_stop_queues()
[all …]
Dqede.h472 struct qede_tx_queue *xdp_tx; member
Dqede_ethtool.c338 qede_get_strings_stats_txq(edev, fp->xdp_tx, &buf); in qede_get_strings_stats()
419 qede_get_ethtool_stats_txq(fp->xdp_tx, &buf); in qede_get_ethtool_stats()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dxdp_tx.c7 int xdp_tx(struct xdp_md *xdp) in xdp_tx() function
/kernel/linux/linux-5.10/drivers/net/
Dveth.c46 u64 xdp_tx; member
98 { "xdp_tx", VETH_RQ_STAT(xdp_tx) },
517 rq->stats.vs.xdp_tx += sent; in veth_xdp_flush_bq()
603 stats->xdp_tx++; in veth_xdp_rcv_one()
738 stats->xdp_tx++; in veth_xdp_rcv_skb()
860 if (stats.xdp_tx > 0) in veth_poll()
Dvirtio_net.c80 u64 xdp_tx; member
91 u64 xdp_tx; member
103 { "xdp_tx", VIRTNET_SQ_STAT(xdp_tx) },
113 { "xdp_tx", VIRTNET_RQ_STAT(xdp_tx) },
594 sq->stats.xdp_tx += n; in virtnet_xdp_xmit()
753 stats->xdp_tx++; in receive_small()
949 stats->xdp_tx++; in receive_mergeable()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_xdp_veth.sh111 ip -n ns2 link set dev veth22 xdp obj xdp_tx.o sec xdp
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.h240 u64 xdp_tx; member
Dena_ethtool.c95 ENA_STAT_RX_ENTRY(xdp_tx),
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dtx_common.c88 tx_queue->xdp_tx = efx_channel_is_xdp_tx(tx_queue->channel); in efx_init_tx_queue()
Dnet_driver.h276 bool xdp_tx; member
Def10.c2335 !tx_queue->timestamping && !tx_queue->xdp_tx) { in efx_ef10_tx_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h382 __u64 xdp_tx; member
Ddpaa2-eth.c300 ch->stats.xdp_tx++; in dpaa2_eth_xdp_tx_flush()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta.c427 u64 xdp_tx; member
2109 stats->es.ps.xdp_tx++; in mvneta_xdp_xmit_back()
4616 u64 xdp_tx; in mvneta_ethtool_update_pcpu_stats() local
4628 xdp_tx = stats->es.ps.xdp_tx; in mvneta_ethtool_update_pcpu_stats()
4639 es->ps.xdp_tx += xdp_tx; in mvneta_ethtool_update_pcpu_stats()
4691 pp->ethtool_stats[i] = stats.ps.xdp_tx; in mvneta_ethtool_update_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_port.c258 priv->xdp_stats.rx_xdp_tx += READ_ONCE(ring->xdp_tx); in mlx4_en_DUMP_ETH_STATS()
Dmlx4_en.h362 unsigned long xdp_tx; member
Den_tx.c1197 rx_ring->xdp_tx++; in mlx4_en_xmit_frame()
Den_ethtool.c431 data[index++] = priv->rx_ring[i]->xdp_tx; in mlx4_en_get_ethtool_stats()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc.c962 bool xdp_tx) in netvsc_send() argument
989 if (!skb || xdp_tx) in netvsc_send()
Dhyperv_net.h195 bool xdp_tx);
Dnetvsc_drv.c523 static int netvsc_xmit(struct sk_buff *skb, struct net_device *net, bool xdp_tx) in netvsc_xmit() argument
711 ret = netvsc_send(net, packet, rndis_msg, pb, skb, xdp_tx); in netvsc_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1677 u64 xdp_tx; in mvpp2_get_xdp_stats() local
1688 xdp_tx = cpu_stats->xdp_tx; in mvpp2_get_xdp_stats()
1697 xdp_stats->xdp_tx += xdp_tx; in mvpp2_get_xdp_stats()
1751 *pstats++ = xdp_stats.xdp_tx; in mvpp2_read_stats()
3370 stats->xdp_tx++; in mvpp2_xdp_xmit_back()
Dmvpp2.h1030 u64 xdp_tx; member

12