commit | 546f28974d771b124fb0bf7b551b343888cf0419 | [log] [tgz] |
---|---|---|
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | Thu Jan 31 20:40:30 2019 +0900 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 03 20:14:28 2019 -0800 |
tree | bb65f0c2802f31bd7fe72dae88736e3fc09f2df9 | |
parent | cfe4bd7a257f6d6f81d3458d8c9d9ec4957539e6 [diff] |
virtio_net: Account for tx bytes and packets on sending xdp_frames Previously virtnet_xdp_xmit() did not account for device tx counters, which caused confusions. To be consistent with SKBs, account them on freeing xdp_frames. Reported-by: David Ahern <dsahern@gmail.com> Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>