AF_XDP query


Kanthi P
 

Hi,

Is it possible to have 2 processes each with its own AF_XDP socket and its own UMEM?

Thanks,
Kanthi 


Bjorn Topel
 

On Tue, 30 Jul 2019 at 22:25, Kanthi P <Pavuluri.kanthi@...> wrote:

Hi,

Is it possible to have 2 processes each with its own AF_XDP socket and its own UMEM?
Hi Kanthi,

Yes, it's possible!


Björn

Thanks,
Kanthi


William Tu
 

On Fri, Aug 2, 2019 at 3:23 AM Bjorn Topel <bjorn.topel@...> wrote:

On Tue, 30 Jul 2019 at 22:25, Kanthi P <Pavuluri.kanthi@...> wrote:

Hi,

Is it possible to have 2 processes each with its own AF_XDP socket and its own UMEM?
Hi Kanthi,

In the case of OVS AF_XDP netdev, we've used multiple PMD threads.
Each thread has its own AF_XDP socket and its own UMEM bind to each rx queue.
I think multiple processes should also work.

William