diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2019-01-31 14:40:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-04 07:14:28 +0300 |
commit | 546f28974d771b124fb0bf7b551b343888cf0419 (patch) | |
tree | bb65f0c2802f31bd7fe72dae88736e3fc09f2df9 /Documentation/mailbox.txt | |
parent | cfe4bd7a257f6d6f81d3458d8c9d9ec4957539e6 (diff) | |
download | linux-546f28974d771b124fb0bf7b551b343888cf0419.tar.xz |
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>
Diffstat (limited to 'Documentation/mailbox.txt')
0 files changed, 0 insertions, 0 deletions