/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 345 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 …]
|
D | qede_main.c | 898 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 …]
|
D | qede.h | 472 struct qede_tx_queue *xdp_tx; member
|
D | qede_ethtool.c | 338 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/ |
D | xdp_tx.c | 7 int xdp_tx(struct xdp_md *xdp) in xdp_tx() function
|
/kernel/linux/linux-5.10/drivers/net/ |
D | veth.c | 46 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()
|
D | virtio_net.c | 80 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/ |
D | test_xdp_veth.sh | 111 ip -n ns2 link set dev veth22 xdp obj xdp_tx.o sec xdp
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 240 u64 xdp_tx; member
|
D | ena_ethtool.c | 95 ENA_STAT_RX_ENTRY(xdp_tx),
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | tx_common.c | 88 tx_queue->xdp_tx = efx_channel_is_xdp_tx(tx_queue->channel); in efx_init_tx_queue()
|
D | net_driver.h | 276 bool xdp_tx; member
|
D | ef10.c | 2335 !tx_queue->timestamping && !tx_queue->xdp_tx) { in efx_ef10_tx_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.h | 382 __u64 xdp_tx; member
|
D | dpaa2-eth.c | 300 ch->stats.xdp_tx++; in dpaa2_eth_xdp_tx_flush()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
D | mvneta.c | 427 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/ |
D | en_port.c | 258 priv->xdp_stats.rx_xdp_tx += READ_ONCE(ring->xdp_tx); in mlx4_en_DUMP_ETH_STATS()
|
D | mlx4_en.h | 362 unsigned long xdp_tx; member
|
D | en_tx.c | 1197 rx_ring->xdp_tx++; in mlx4_en_xmit_frame()
|
D | en_ethtool.c | 431 data[index++] = priv->rx_ring[i]->xdp_tx; in mlx4_en_get_ethtool_stats()
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | netvsc.c | 962 bool xdp_tx) in netvsc_send() argument 989 if (!skb || xdp_tx) in netvsc_send()
|
D | hyperv_net.h | 195 bool xdp_tx);
|
D | netvsc_drv.c | 523 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/ |
D | mvpp2_main.c | 1677 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()
|
D | mvpp2.h | 1030 u64 xdp_tx; member
|