Re: bidirectional: => AF_XDP , <= XDP_REDIRECT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ilya Goslhtein <ilejn@xxxxxxxxx> writes:

> Hello Toke,
>
> thanks for the response.
>
> I do not think that it is the case.
>
> The interface I am trying to share is outgoing for xdpbridge and 
> incoming for xdp_bridge_map.
>
> xdpbridge does not load xdp program for outgoing interface (while loads 
> for incoming).
>
> xdp_bridge_map loads dummy XDP program for outgoing redirect, while it 
> is Ok if it is already exists.
>
>
> It seems that if I use different queues for incoming and outgoing 
> packets, everything is Ok, while I am not 100% sure yet. Does it look 
> realistic?

Oh, right, yeah, the AF_XDP socket will need to configure a hardware
queue to use; depending on your hardware, that could be incompatible
with running a regular XDP program on the same hardware queue.

Incidently, we are working on a way to make this work better; talk
starts in five minutes at LPC:
https://linuxplumbersconf.org/event/4/contributions/462/

-Toke



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux