[ovs-dev] [PATCH RFCv4 0/4] AF_XDP netdev support for OVS

Eelco Chaudron echaudro at redhat.com
Thu Apr 18 08:20:53 UTC 2019



On 17 Apr 2019, at 19:39, William Tu wrote:

> On Wed, Apr 17, 2019 at 9:48 AM Ben Pfaff <blp at ovn.org> wrote:
>>
>> On Wed, Apr 17, 2019 at 12:16:59PM +0200, Eelco Chaudron wrote:
>>> One other thing that popped up in my head is how (will) it work 
>>> together
>>> with DPDK enabled on the same system?
>>
>> Why not?

I’m like if it’s not tested it’s not working…

>
> It works OK with OVS-DPDK.
> For example, I can create a br0, attach a af_xdp port and also attach
> a dpdk port to it. (I tested using dpdk vhost port, not physical one).
>
> The performance is lower than using two dpdk ports due to some packet
> copying from one to another.

This is because to sent to the DPDK ports you use the shared queue which 
might block on a mutex. Sending from a DPDK port to XDP might be worse, 
as the PMD might stall due to the syscall required.


I’ll try to do some more tests on this combination once I return from 
PTO.



More information about the dev mailing list