commit | a0929a44c2065da33c17b1b8015a88401d71ca7b | [log] [tgz] |
---|---|---|
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | Mon Jul 23 23:36:05 2018 +0900 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 25 12:53:37 2018 -0700 |
tree | 0f31ae4f21d0ebf8ee215bfd688e99ed9d6cbe1f | |
parent | 7d9d60fd4ab69604015b094c07ad8490039bb2a4 [diff] |
virtio_net: Use temporary storage for accounting rx stats The purpose is to keep receive_buf arguments simple when more per-queue counter items are added later. Also XDP_TX related sq counters will be updated in the following changes so create a container struct virtnet_rx_stats which will includes both rq and sq statistics. For now it only covers rq stats. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>