Home
last modified time | relevance | path

Searched refs:ring_stats (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/samples/bpf/
Dxdpsock_user.c148 struct xsk_ring_stats ring_stats; member
205 xsk->ring_stats.rx_dropped_npkts = stats.rx_dropped; in xsk_get_xdp_stats()
206 xsk->ring_stats.rx_invalid_npkts = stats.rx_invalid_descs; in xsk_get_xdp_stats()
207 xsk->ring_stats.tx_invalid_npkts = stats.tx_invalid_descs; in xsk_get_xdp_stats()
208 xsk->ring_stats.rx_full_npkts = stats.rx_ring_full; in xsk_get_xdp_stats()
209 xsk->ring_stats.rx_fill_empty_npkts = stats.rx_fill_ring_empty_descs; in xsk_get_xdp_stats()
210 xsk->ring_stats.tx_empty_npkts = stats.tx_ring_empty_descs; in xsk_get_xdp_stats()
363 rx_pps = (xsks[i]->ring_stats.rx_npkts - xsks[i]->ring_stats.prev_rx_npkts) * in dump_stats()
365 tx_pps = (xsks[i]->ring_stats.tx_npkts - xsks[i]->ring_stats.prev_tx_npkts) * in dump_stats()
374 printf(fmt, "rx", rx_pps, xsks[i]->ring_stats.rx_npkts); in dump_stats()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h346 struct ring_stats { struct
389 struct ring_stats stats;
Dhns3_ethtool.c25 offsetof(struct ring_stats, _member), \
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.c512 *ptr++ = vpath_info->ring_stats.common_stats.full_cnt; in vxge_get_ethtool_stats()
513 *ptr++ = vpath_info->ring_stats.common_stats.usage_cnt; in vxge_get_ethtool_stats()
514 *ptr++ = vpath_info->ring_stats.common_stats.usage_max; in vxge_get_ethtool_stats()
515 *ptr++ = vpath_info->ring_stats.common_stats. in vxge_get_ethtool_stats()
517 *ptr++ = vpath_info->ring_stats.common_stats.total_compl_cnt; in vxge_get_ethtool_stats()
519 *ptr++ = vpath_info->ring_stats.rxd_t_code_err_cnt[j]; in vxge_get_ethtool_stats()
Dvxge-traffic.h1657 struct vxge_hw_vpath_stats_sw_ring_info ring_stats; member
Dvxge-config.c2827 ring->stats = &vp->vpath->sw_stats->ring_stats; in __vxge_hw_ring_create()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhnae.h238 struct ring_stats { struct
275 struct ring_stats stats;