Thread (2 messages) 2 messages, 2 authors, 2021-10-28

Re: [PATCH 3/3] virtio-net: enable virtio indirect cache

From: Jason Wang <jasowang@redhat.com>
Date: 2021-10-28 02:29:01
Also in: netdev

On Thu, Oct 28, 2021 at 9:59 AM Xuan Zhuo [off-list ref] wrote:
On Wed, 27 Oct 2021 08:55:28 -0700, Jakub Kicinski [off-list ref] wrote:
quoted
On Wed, 27 Oct 2021 14:19:13 +0800 Xuan Zhuo wrote:
quoted
+static bool virtio_desc_cache = true;
 module_param(csum, bool, 0444);
 module_param(gso, bool, 0444);
 module_param(napi_tx, bool, 0644);
+module_param(virtio_desc_cache, bool, 0644);
Can this be an ethtool priv flag? module params are discouraged because
they can't be controlled per-netdev.

The current design can only be set when the device is initialized. So using
ethtool to modify it will not work.
Anyhow you can add things like synchronization to make it work. But I
think what we want is to make it work unconditionally, so having a
module parameter seems useless. If you want to use it for
benchmarking?

Thanks
Thanks.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help