Currently, OVS only supports 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 enable DPDK multi-segment mbuf support in OVS. Michael Qiu (5): lib/dp-packet: init the mbuf to zero when build with DPDK DPDK: 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 | 31 +++++++++++++++++++++++++++--- lib/dp-packet.h | 27 ++++++++++++++++---------- lib/netdev-dpdk.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 96 insertions(+), 19 deletions(-) -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev