Lines Matching refs:tot
364 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
371 tot->tx_dropped = veth_stats_tx(dev, &packets, &bytes); in veth_get_stats64()
372 tot->tx_bytes = bytes; in veth_get_stats64()
373 tot->tx_packets = packets; in veth_get_stats64()
376 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
377 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
378 tot->rx_bytes = rx.xdp_bytes; in veth_get_stats64()
379 tot->rx_packets = rx.xdp_packets; in veth_get_stats64()
385 tot->rx_bytes += bytes; in veth_get_stats64()
386 tot->rx_packets += packets; in veth_get_stats64()
389 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
390 tot->rx_dropped += rx.xdp_tx_err; in veth_get_stats64()
391 tot->tx_bytes += rx.xdp_bytes; in veth_get_stats64()
392 tot->tx_packets += rx.xdp_packets; in veth_get_stats64()