/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() 370 if (unlikely(qede_xdp_xmit(xdp_tx, mapping, 0, xdpf->len, in qede_xdp_transmit() 377 xdp_prod = qed_chain_get_prod_idx(&xdp_tx->tx_pbl); in qede_xdp_transmit() 379 xdp_tx->tx_db.data.bd_prod = cpu_to_le16(xdp_prod); in qede_xdp_transmit() 380 qede_update_tx_producer(xdp_tx); in qede_xdp_transmit() 383 spin_unlock(&xdp_tx->xdp_tx_lock); in qede_xdp_transmit() 1120 if (unlikely(qede_xdp_xmit(fp->xdp_tx, bd->mapping, in qede_rx_xdp() 1399 if (qede_txq_has_work(fp->xdp_tx)) in qede_poll_is_more_work() [all …]
|
D | qede_main.c | 894 kfree(fp->xdp_tx); in qede_free_fp_array() 967 fp->xdp_tx = kzalloc(sizeof(*fp->xdp_tx), in qede_alloc_fp_array() 969 if (!fp->xdp_tx) in qede_alloc_fp_array() 1635 qede_free_mem_txq(edev, fp->xdp_tx); in qede_free_mem_fp() 1663 rc = qede_alloc_mem_txq(edev, fp->xdp_tx); in qede_alloc_mem_fp() 1780 fp->xdp_tx->index = QEDE_TXQ_IDX_TO_XDP(edev, in qede_init_fp() 1782 fp->xdp_tx->is_xdp = 1; in qede_init_fp() 1784 spin_lock_init(&fp->xdp_tx->xdp_tx_lock); in qede_init_fp() 2069 rc = qede_drain_txq(edev, fp->xdp_tx, true); in qede_stop_queues() 2101 rc = qede_stop_txq(edev, fp->xdp_tx, i); in qede_stop_queues() [all …]
|
D | qede.h | 474 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()
|
/drivers/net/ |
D | veth.c | 47 u64 xdp_tx; member 100 { "xdp_tx", VETH_RQ_STAT(xdp_tx) }, 562 rq->stats.vs.xdp_tx += sent; in veth_xdp_flush_bq() 641 stats->xdp_tx++; in veth_xdp_rcv_one() 791 stats->xdp_tx++; in veth_xdp_rcv_skb() 935 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) }, 647 sq->stats.xdp_tx += n; in virtnet_xdp_xmit() 807 stats->xdp_tx++; in receive_small() 1022 stats->xdp_tx++; in receive_mergeable()
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 229 u64 xdp_tx; member
|
D | ena_ethtool.c | 96 ENA_STAT_RX_ENTRY(xdp_tx),
|
/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 | 2372 !tx_queue->timestamping && !tx_queue->xdp_tx) { in efx_ef10_tx_init()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc.h | 66 unsigned int xdp_tx; member
|
D | enetc_ethtool.c | 280 data[o++] = priv->tx_ring[i]->stats.xdp_tx; in enetc_get_ethtool_stats()
|
D | enetc.c | 1118 tx_ring->stats.xdp_tx += xdp_tx_frm_cnt; in enetc_xdp_xmit() 1307 tx_ring->stats.xdp_tx += xdp_tx_bd_cnt; in enetc_clean_rx_ring_xdp()
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.h | 382 __u64 xdp_tx; member
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 429 u64 xdp_tx; member 2116 stats->es.ps.xdp_tx++; in mvneta_xdp_xmit_back() 4642 u64 xdp_tx; in mvneta_ethtool_update_pcpu_stats() local 4654 xdp_tx = stats->es.ps.xdp_tx; in mvneta_ethtool_update_pcpu_stats() 4665 es->ps.xdp_tx += xdp_tx; in mvneta_ethtool_update_pcpu_stats() 4717 pp->ethtool_stats[i] = stats.ps.xdp_tx; in mvneta_ethtool_update_stats()
|
/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 | 343 unsigned long xdp_tx; member
|
D | en_tx.c | 1185 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()
|
/drivers/net/hyperv/ |
D | netvsc.c | 1093 bool xdp_tx) in netvsc_send() argument 1120 if (!skb || xdp_tx) in netvsc_send()
|
D | hyperv_net.h | 229 bool xdp_tx);
|
D | netvsc_drv.c | 521 static int netvsc_xmit(struct sk_buff *skb, struct net_device *net, bool xdp_tx) in netvsc_xmit() argument 710 ret = netvsc_send(net, packet, rndis_msg, pb, skb, xdp_tx); in netvsc_xmit()
|
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 2029 u64 xdp_tx; in mvpp2_get_xdp_stats() local 2040 xdp_tx = cpu_stats->xdp_tx; in mvpp2_get_xdp_stats() 2049 xdp_stats->xdp_tx += xdp_tx; in mvpp2_get_xdp_stats() 2103 *pstats++ = xdp_stats.xdp_tx; in mvpp2_read_stats() 3751 stats->xdp_tx++; in mvpp2_xdp_xmit_back()
|
D | mvpp2.h | 1125 u64 xdp_tx; member
|