diff options
author | Jason Wang <jasowang@redhat.com> | 2018-10-09 10:06:26 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-10 22:34:38 -0700 |
commit | 0c465be183c7c57a26446df6ea96d8676b865f92 (patch) | |
tree | a32ec09bd8ecc98c6da27205b0affa070bc55c52 /drivers/net/tun.c | |
parent | 1a21cc507bb75954bd8618f193179e2a3f8d9069 (diff) | |
download | lwn-0c465be183c7c57a26446df6ea96d8676b865f92.tar.gz lwn-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 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions