Home
last modified time | relevance | path

Searched refs:xdp_stats (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Den_port.c246 priv->xdp_stats.rx_xdp_drop = 0; in mlx4_en_DUMP_ETH_STATS()
247 priv->xdp_stats.rx_xdp_redirect = 0; in mlx4_en_DUMP_ETH_STATS()
248 priv->xdp_stats.rx_xdp_redirect_fail = 0; in mlx4_en_DUMP_ETH_STATS()
249 priv->xdp_stats.rx_xdp_tx = 0; in mlx4_en_DUMP_ETH_STATS()
250 priv->xdp_stats.rx_xdp_tx_full = 0; in mlx4_en_DUMP_ETH_STATS()
259 priv->xdp_stats.rx_xdp_drop += READ_ONCE(ring->xdp_drop); in mlx4_en_DUMP_ETH_STATS()
260 priv->xdp_stats.rx_xdp_redirect += READ_ONCE(ring->xdp_redirect); in mlx4_en_DUMP_ETH_STATS()
261 priv->xdp_stats.rx_xdp_redirect_fail += READ_ONCE(ring->xdp_redirect_fail); in mlx4_en_DUMP_ETH_STATS()
262 priv->xdp_stats.rx_xdp_tx += READ_ONCE(ring->xdp_tx); in mlx4_en_DUMP_ETH_STATS()
263 priv->xdp_stats.rx_xdp_tx_full += READ_ONCE(ring->xdp_tx_full); in mlx4_en_DUMP_ETH_STATS()
Dmlx4_en.h601 struct mlx4_en_xdp_stats xdp_stats; member
Den_ethtool.c419 data[index++] = ((unsigned long *)&priv->xdp_stats)[i]; in mlx4_en_get_ethtool_stats()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c2018 mvpp2_get_xdp_stats(struct mvpp2_port *port, struct mvpp2_pcpu_stats *xdp_stats) in mvpp2_get_xdp_stats() argument
2046 xdp_stats->xdp_redirect += xdp_redirect; in mvpp2_get_xdp_stats()
2047 xdp_stats->xdp_pass += xdp_pass; in mvpp2_get_xdp_stats()
2048 xdp_stats->xdp_drop += xdp_drop; in mvpp2_get_xdp_stats()
2049 xdp_stats->xdp_xmit += xdp_xmit; in mvpp2_get_xdp_stats()
2050 xdp_stats->xdp_xmit_err += xdp_xmit_err; in mvpp2_get_xdp_stats()
2051 xdp_stats->xdp_tx += xdp_tx; in mvpp2_get_xdp_stats()
2052 xdp_stats->xdp_tx_err += xdp_tx_err; in mvpp2_get_xdp_stats()
2058 struct mvpp2_pcpu_stats xdp_stats = {}; in mvpp2_read_stats() local
2089 mvpp2_get_xdp_stats(port, &xdp_stats); in mvpp2_read_stats()
[all …]
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c38 offsetof(struct mtk_hw_stats, xdp_stats.x) / \
1712 hw_stats->xdp_stats.tx_xdp_xmit += nxmit; in mtk_xdp_xmit()
1713 hw_stats->xdp_stats.tx_xdp_xmit_errors += num_frame - nxmit; in mtk_xdp_xmit()
1724 u64 *count = &hw_stats->xdp_stats.rx_xdp_drop; in mtk_xdp_run()
1737 count = &hw_stats->xdp_stats.rx_xdp_pass; in mtk_xdp_run()
1745 count = &hw_stats->xdp_stats.rx_xdp_redirect; in mtk_xdp_run()
1751 count = &hw_stats->xdp_stats.rx_xdp_tx_errors; in mtk_xdp_run()
1756 count = &hw_stats->xdp_stats.rx_xdp_tx; in mtk_xdp_run()
Dmtk_eth_soc.h605 struct mtk_xdp_stats xdp_stats; member