]> git.baikalelectronics.ru Git - kernel.git/commit
vhost_net: disable zerocopy by default
authorJason Wang <jasowang@redhat.com>
Mon, 17 Jun 2019 09:20:54 +0000 (05:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2019 20:58:02 +0000 (13:58 -0700)
commit4450e4c4daf08a8ca642e6d93b2782ffa2161181
tree1c4aa5aa646d416495599bb04bf514eceee61f4b
parent8bdb6f9bc5c3972b12f0a26a21b5b635973508c3
vhost_net: disable zerocopy by default

Vhost_net was known to suffer from HOL[1] issues which is not easy to
fix. Several downstream disable the feature by default. What's more,
the datapath was split and datacopy path got the support of batching
and XDP support recently which makes it faster than zerocopy part for
small packets transmission.

It looks to me that disable zerocopy by default is more
appropriate. It cold be enabled by default again in the future if we
fix the above issues.

[1] https://patchwork.kernel.org/patch/3787671/

Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/net.c