Lines Matching defs:ps

469 	struct mvneta_stats ps;
823 rx_packets = cpu_stats->es.ps.rx_packets;
824 rx_bytes = cpu_stats->es.ps.rx_bytes;
827 tx_packets = cpu_stats->es.ps.tx_packets;
828 tx_bytes = cpu_stats->es.ps.tx_bytes;
2026 struct mvneta_stats *ps)
2031 stats->es.ps.rx_packets += ps->rx_packets;
2032 stats->es.ps.rx_bytes += ps->rx_bytes;
2034 stats->es.ps.xdp_redirect += ps->xdp_redirect;
2035 stats->es.ps.xdp_pass += ps->xdp_pass;
2036 stats->es.ps.xdp_drop += ps->xdp_drop;
2195 stats->es.ps.tx_bytes += nxmit_byte;
2196 stats->es.ps.tx_packets++;
2197 stats->es.ps.xdp_tx++;
2203 stats->es.ps.xdp_tx_err++;
2247 stats->es.ps.tx_bytes += nxmit_byte;
2248 stats->es.ps.tx_packets += nxmit;
2249 stats->es.ps.xdp_xmit += nxmit;
2250 stats->es.ps.xdp_xmit_err += num_frame - nxmit;
2431 struct mvneta_stats ps = {};
2493 mvneta_run_xdp(pp, rxq, xdp_prog, &xdp_buf, frame_sz, &ps))
2510 ps.rx_bytes += skb->len;
2511 ps.rx_packets++;
2522 if (ps.xdp_redirect)
2525 if (ps.rx_packets)
2526 mvneta_update_stats(pp, &ps);
2534 return ps.rx_packets;
2659 stats->es.ps.rx_packets += rcvd_pkts;
2660 stats->es.ps.rx_bytes += rcvd_bytes;
2992 stats->es.ps.tx_bytes += len;
2993 stats->es.ps.tx_packets++;
4832 xdp_redirect = stats->es.ps.xdp_redirect;
4833 xdp_pass = stats->es.ps.xdp_pass;
4834 xdp_drop = stats->es.ps.xdp_drop;
4835 xdp_xmit = stats->es.ps.xdp_xmit;
4836 xdp_xmit_err = stats->es.ps.xdp_xmit_err;
4837 xdp_tx = stats->es.ps.xdp_tx;
4838 xdp_tx_err = stats->es.ps.xdp_tx_err;
4843 es->ps.xdp_redirect += xdp_redirect;
4844 es->ps.xdp_pass += xdp_pass;
4845 es->ps.xdp_drop += xdp_drop;
4846 es->ps.xdp_xmit += xdp_xmit;
4847 es->ps.xdp_xmit_err += xdp_xmit_err;
4848 es->ps.xdp_tx += xdp_tx;
4849 es->ps.xdp_tx_err += xdp_tx_err;
4891 pp->ethtool_stats[i] = stats.ps.xdp_redirect;
4894 pp->ethtool_stats[i] = stats.ps.xdp_pass;
4897 pp->ethtool_stats[i] = stats.ps.xdp_drop;
4900 pp->ethtool_stats[i] = stats.ps.xdp_tx;
4903 pp->ethtool_stats[i] = stats.ps.xdp_tx_err;
4906 pp->ethtool_stats[i] = stats.ps.xdp_xmit;
4909 pp->ethtool_stats[i] = stats.ps.xdp_xmit_err;