Searched refs:tx_pps (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/samples/bpf/ |
D | xsk_fwd.c | 934 double rx_pps, tx_pps; in print_port_stats() local 937 tx_pps = (p->n_pkts_tx - n_pkts_tx[port_id]) * 1000000000. / ns_diff; in print_port_stats() 944 tx_pps); in print_port_stats()
|
D | xdpsock_user.c | 360 double rx_pps, tx_pps, dropped_pps, rx_invalid_pps, full_pps, fill_empty_pps, in dump_stats() local 365 tx_pps = (xsks[i]->ring_stats.tx_npkts - xsks[i]->ring_stats.prev_tx_npkts) * in dump_stats() 375 printf(fmt, "tx", tx_pps, xsks[i]->ring_stats.tx_npkts); in dump_stats()
|