mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
dpdk: Deprecate vhost-user dequeue zero-copy.
Dequeue zero-copy is no longer supported for vhost-user client mode in DPDK due to commit [1]. In addition to this, zero-copy mode has been proposed to be marked deprecated in [2] with removal in the next DPDK LTS release. This commit deprecates support for vhost-user dequeue zero-copy in OVS with its removal expected in the next OVS release. [1] 715070ea10e6 ("vhost: prevent zero-copy with incompatible client mode") [2] http://mails.dpdk.org/archives/dev/2020-August/177236.html Signed-off-by: Ian Stokes <ian.stokes@intel.com> Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
parent
71417ef011
commit
e919fd4955
@ -556,6 +556,11 @@ shown with::
|
||||
vhost-user Dequeue Zero Copy (experimental)
|
||||
-------------------------------------------
|
||||
|
||||
.. warning::
|
||||
|
||||
vhost-user Dequeue Zero Copy is deprecated in OVS and will be removed in
|
||||
the next release.
|
||||
|
||||
Normally when dequeuing a packet from a vHost User device, a memcpy operation
|
||||
must be used to copy that packet from guest address space to host address
|
||||
space. This memcpy can be removed by enabling dequeue zero-copy like so::
|
||||
|
2
NEWS
2
NEWS
@ -22,6 +22,8 @@ v2.14.0 - xx xxx xxxx
|
||||
CVE-2020-10726, this DPDK version is strongly recommended to be used.
|
||||
* New 'ovs-appctl dpdk/log-list' and 'ovs-appctl dpdk/log-set' commands
|
||||
to list and change log levels in DPDK components.
|
||||
* Vhost-user Dequeue zero-copy support is deprecated and will be removed
|
||||
in the next release.
|
||||
- Linux datapath:
|
||||
* Support for kernel versions up to 5.5.x.
|
||||
- AF_XDP:
|
||||
|
@ -5085,6 +5085,8 @@ netdev_dpdk_vhost_client_reconfigure(struct netdev *netdev)
|
||||
dev->up.name, dev->vhost_id);
|
||||
if (zc_enabled) {
|
||||
VLOG_INFO("Zero copy enabled for vHost port %s", dev->up.name);
|
||||
VLOG_WARN("Zero copy support is deprecated and will be "
|
||||
"removed in the next OVS release.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user