Re: [iovisor-dev] AF_XDP query

2019-08-02 Thread William Tu
On Fri, Aug 2, 2019 at 3:23 AM Bjorn Topel  wrote:
>
> On Tue, 30 Jul 2019 at 22:25, Kanthi P  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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1762): https://lists.iovisor.org/g/iovisor-dev/message/1762
Mute This Topic: https://lists.iovisor.org/mt/32658399/21656
Group Owner: iovisor-dev+ow...@lists.iovisor.org
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [iovisor-dev] AF_XDP query

2019-08-02 Thread Bjorn Topel
On Tue, 30 Jul 2019 at 22:25, Kanthi P  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
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1761): https://lists.iovisor.org/g/iovisor-dev/message/1761
Mute This Topic: https://lists.iovisor.org/mt/32658399/21656
Group Owner: iovisor-dev+ow...@lists.iovisor.org
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-