Home
last modified time | relevance | path

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

12

/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()
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 …]
Dqede_main.c894 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 …]
Dqede.h474 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()
/drivers/net/
Dveth.c47 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()
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) },
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/
Dena_netdev.h229 u64 xdp_tx; member
Dena_ethtool.c96 ENA_STAT_RX_ENTRY(xdp_tx),
/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.c2372 !tx_queue->timestamping && !tx_queue->xdp_tx) { in efx_ef10_tx_init()
/drivers/net/ethernet/freescale/enetc/
Denetc.h66 unsigned int xdp_tx; member
Denetc_ethtool.c280 data[o++] = priv->tx_ring[i]->stats.xdp_tx; in enetc_get_ethtool_stats()
Denetc.c1118 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/
Ddpaa2-eth.h382 __u64 xdp_tx; member
/drivers/net/ethernet/marvell/
Dmvneta.c429 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/
Den_port.c258 priv->xdp_stats.rx_xdp_tx += READ_ONCE(ring->xdp_tx); in mlx4_en_DUMP_ETH_STATS()
Dmlx4_en.h343 unsigned long xdp_tx; member
Den_tx.c1185 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()
/drivers/net/hyperv/
Dnetvsc.c1093 bool xdp_tx) in netvsc_send() argument
1120 if (!skb || xdp_tx) in netvsc_send()
Dhyperv_net.h229 bool xdp_tx);
Dnetvsc_drv.c521 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/
Dmvpp2_main.c2029 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()
Dmvpp2.h1125 u64 xdp_tx; member

12