diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-12-06 13:56:00 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-12-06 16:09:18 +0100 |
commit | f9611c43ab0ddaf547b395c90fb842f55959334c (patch) | |
tree | e21360d462c22fa0780a6e9abcfb1468be48a990 /drivers/vhost | |
parent | vhost-net: skip head management if no outstanding (diff) | |
download | linux-f9611c43ab0ddaf547b395c90fb842f55959334c.tar.xz linux-f9611c43ab0ddaf547b395c90fb842f55959334c.zip |
vhost-net: enable zerocopy tx by default
Zero copy TX has been around for a while now.
We seem to be down to eliminating theoretical bugs
and performance tuning at this point:
it's probably time to enable it by default so that
most users get the benefit.
Keep the flag around meanwhile so users can experiment
with disabling this if they experience regressions.
I expect that we will remove it in the future.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost')
-rw-r--r-- | drivers/vhost/net.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index aa76ca72606a..ebd08b21b234 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -30,9 +30,10 @@ #include "vhost.h" -static int experimental_zcopytx; +static int experimental_zcopytx = 1; module_param(experimental_zcopytx, int, 0444); -MODULE_PARM_DESC(experimental_zcopytx, "Enable Experimental Zero Copy TX"); +MODULE_PARM_DESC(experimental_zcopytx, "Enable Zero Copy TX;" + " 1 -Enable; 0 - Disable"); /* Max number of bytes transferred before requeueing the job. * Using this limit prevents one virtqueue from starving others. */ |