Lines Matching refs:tot
398 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
405 tot->tx_dropped = veth_stats_tx(dev, &packets, &bytes); in veth_get_stats64()
406 tot->tx_bytes = bytes; in veth_get_stats64()
407 tot->tx_packets = packets; in veth_get_stats64()
410 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
411 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
412 tot->rx_bytes = rx.xdp_bytes; in veth_get_stats64()
413 tot->rx_packets = rx.xdp_packets; in veth_get_stats64()
419 tot->rx_bytes += bytes; in veth_get_stats64()
420 tot->rx_packets += packets; in veth_get_stats64()
423 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
424 tot->rx_dropped += rx.xdp_tx_err; in veth_get_stats64()
425 tot->tx_bytes += rx.xdp_bytes; in veth_get_stats64()
426 tot->tx_packets += rx.xdp_packets; in veth_get_stats64()