Lines Matching refs:tot
430 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
437 tot->tx_dropped = veth_stats_tx(dev, &packets, &bytes); in veth_get_stats64()
438 tot->tx_bytes = bytes; in veth_get_stats64()
439 tot->tx_packets = packets; in veth_get_stats64()
442 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
443 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
444 tot->rx_bytes = rx.xdp_bytes; in veth_get_stats64()
445 tot->rx_packets = rx.xdp_packets; in veth_get_stats64()
451 tot->rx_bytes += bytes; in veth_get_stats64()
452 tot->rx_packets += packets; in veth_get_stats64()
455 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
456 tot->rx_dropped += rx.xdp_tx_err; in veth_get_stats64()
457 tot->tx_bytes += rx.xdp_bytes; in veth_get_stats64()
458 tot->tx_packets += rx.xdp_packets; in veth_get_stats64()