Lines Matching refs:tot
452 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
458 tot->tx_dropped = atomic64_read(&priv->dropped); in veth_get_stats64()
459 dev_fetch_sw_netstats(tot, dev->tstats); in veth_get_stats64()
462 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
463 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
464 tot->rx_bytes += rx.xdp_bytes; in veth_get_stats64()
465 tot->rx_packets += rx.xdp_packets; in veth_get_stats64()
473 tot->rx_bytes += tot_peer.tx_bytes; in veth_get_stats64()
474 tot->rx_packets += tot_peer.tx_packets; in veth_get_stats64()
477 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
478 tot->rx_dropped += rx.xdp_tx_err; in veth_get_stats64()
479 tot->tx_bytes += rx.xdp_bytes; in veth_get_stats64()
480 tot->tx_packets += rx.xdp_packets; in veth_get_stats64()