From: Michael Qiu <qiud...@chinac.com> Currently, OVS only support DPDK single segment mbuf, it could lead problems, like a large non-DPDK source packet transmit to dpdk port.
Also, OVS doesn't copy enough info in mbuf when do packet copy. At the same time, vlan and tunnelling packet's DPDK offloads, for example TSO, needs multi-segment mbuf's support. This patchset solved all above issues. -- v1 --> v2 rebase code to newest upstream. fix some typo in commit log. Michael Qiu (5): lib/dp-packet: init the mbuf to zero when build with DPDK lib/dp-packet: copy additional packet info when do packet copy lib/dp-packet: Fix data_len issue with multi-segments lib/dp-packet: copy multi-segments data from DPDK mbuf lib/netdev-dpdk: copy large packet to multi-segment mbufs lib/dp-packet.c | 33 ++++++++++++++++++++++++++++++--- lib/dp-packet.h | 23 +++++++++++++---------- lib/netdev-dpdk.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 94 insertions(+), 17 deletions(-) -- 1.8.3.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev