[ovs-git] [openvswitch/ovs] 36a9a7: netdev-dpdk: linear buffer check with zero-copy
istokes
noreply at github.com
Wed Aug 12 18:03:10 UTC 2020
Branch: refs/heads/branch-2.14
Home: https://github.com/openvswitch/ovs
Commit: 36a9a7772ed74d7cd3ffb4ff30e06144f466a028
https://github.com/openvswitch/ovs/commit/36a9a7772ed74d7cd3ffb4ff30e06144f466a028
Author: Sivaprasad Tummala <Sivaprasad.Tummala at intel.com>
Date: 2020-08-12 (Wed, 12 Aug 2020)
Changed paths:
M lib/netdev-dpdk.c
Log Message:
-----------
netdev-dpdk: linear buffer check with zero-copy
As of DPDK 19.11, in order to use dequeue-zero-copy in DPDK Vhost library,
the application has to disable the linear buffer option. Hence
dequeue-zero-copy is not supported for vhost application that requires
linear buffers.
An alternative DPDK based approach to disable the linear buffers within
the vhost library itself was proposed in [1], however the consensus was
that application should be responsible for disabling linear buffers.
As such this patch disables linear buffers when zero-copy is enabled.
[1] https://patches.dpdk.org/patch/67200/
Fixes: 127b6a6eea02 ("dpdk: Update to use DPDK 19.11.")
Signed-off-by: Sivaprasad Tummala <Sivaprasad.Tummala at intel.com>
Acked-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>
Commit: 5910c2e9c578dfaead7d113136d6821fcf4d1f59
https://github.com/openvswitch/ovs/commit/5910c2e9c578dfaead7d113136d6821fcf4d1f59
Author: Ian Stokes <ian.stokes at intel.com>
Date: 2020-08-12 (Wed, 12 Aug 2020)
Changed paths:
M Documentation/topics/dpdk/vhost-user.rst
M NEWS
M lib/netdev-dpdk.c
Log Message:
-----------
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 at intel.com>
Acked-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Acked-by: Ilya Maximets <i.maximets at ovn.org>
Compare: https://github.com/openvswitch/ovs/compare/873a530bdb17...5910c2e9c578
More information about the git
mailing list