From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Ilya Goslhtein <ilejn@yandex.ru>, xdp-newbies@vger.kernel.org
Subject: Re: bidirectional: => AF_XDP , <= XDP_REDIRECT
Date: Tue, 10 Sep 2019 15:38:52 +0100 [thread overview]
Message-ID: <87a7bcusg3.fsf@toke.dk> (raw)
In-Reply-To: <e83a6f5d-785e-d3c7-6bd8-63d972973427@yandex.ru>
Ilya Goslhtein <ilejn@yandex.ru> 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
next prev parent reply other threads:[~2019-09-10 14:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 14:01 bidirectional: => AF_XDP , <= XDP_REDIRECT Ilya Goslhtein
2019-09-10 14:21 ` Toke Høiland-Jørgensen
2019-09-10 14:32 ` Ilya Goslhtein
2019-09-10 14:38 ` Toke Høiland-Jørgensen [this message]
2019-10-30 15:44 ` Ilya Goslhtein
2019-10-30 16:39 ` Jesper Dangaard Brouer
2019-10-30 16:59 ` Ilya Goslhtein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7bcusg3.fsf@toke.dk \
--to=toke@redhat.com \
--cc=ilejn@yandex.ru \
--cc=xdp-newbies@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.