summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorJason Wang2018-10-09 04:06:26 +0200
committerDavid S. Miller2018-10-11 07:34:38 +0200
commit0c465be183c7c57a26446df6ea96d8676b865f92 (patch)
treea32ec09bd8ecc98c6da27205b0affa070bc55c52 /arch/x86/pci
parentMerge branch 'nfp-flower-speed-up-stats-update-loop' (diff)
downloadkernel-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