diff options
author | Jason Wang | 2018-10-09 04:06:26 +0200 |
---|---|---|
committer | David S. Miller | 2018-10-11 07:34:38 +0200 |
commit | 0c465be183c7c57a26446df6ea96d8676b865f92 (patch) | |
tree | a32ec09bd8ecc98c6da27205b0affa070bc55c52 /arch/x86/pci | |
parent | Merge branch 'nfp-flower-speed-up-stats-update-loop' (diff) | |
download | kernel-qcow2-linux-0c465be183c7c57a26446df6ea96d8676b865f92.tar.gz kernel-qcow2-linux-0c465be183c7c57a26446df6ea96d8676b865f92.tar.xz kernel-qcow2-linux-0c465be183c7c57a26446df6ea96d8676b865f92.zip |
virtio_net: ethtool tx napi configuration
Implement ethtool .set_coalesce (-C) and .get_coalesce (-c) handlers.
Interrupt moderation is currently not supported, so these accept and
display the default settings of 0 usec and 1 frame.
Toggle tx napi through setting tx-frames. So as to not interfere
with possible future interrupt moderation, value 1 means tx napi while
value 0 means not.
Only allow the switching when device is down for simplicity.
Link: https://patchwork.ozlabs.org/patch/948149/
Suggested-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions