[ovs-discuss] Out-of-order packets when using userplance ovs with dpdkr interface

Junguk Cho jmanbal at gmail.com
Wed May 17 11:16:16 UTC 2017


I have a simple setup in one machine and use userplane OVS-2.7 with

    Bridge "br0"
        Controller "tcp:"
            is_connected: true
        fail_mode: secure
        Port "dpdkr2"
            Interface "dpdkr2"
                type: dpdkr
        Port "dpdkr1"
            Interface "dpdkr1"
                type: dpdkr
        Port "br0"
            Interface "br0"
                type: internal

Traffic is from dpdkr2 to dpdkr1.
I have two questions.

1. I observed one interesting behavior.
After running them for a while, sometimes,  dpdkr1 got out-of-order packets.
Is it a possible behavior even though I use two dpdkr in a same machine?

2. There are some hardcoded values for ring size and max & min num of
packets for mempool in netdev-dpdk.c.
enum { DPDK_RING_SIZE = 256 };
#define MAX_NB_MBUF          (4096 * 64)
#define MIN_NB_MBUF          (4096 * 4)

What are the intuition of these values?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170517/5bb972c1/attachment.html>

More information about the discuss mailing list