xdp-newbies.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Björn Töpel" <bjorn.topel@gmail.com>
To: "Gaul, Maximilian" <maximilian.gaul@hm.edu>
Cc: Xdp <xdp-newbies@vger.kernel.org>
Subject: Re: Shared Umem between processes
Date: Thu, 12 Mar 2020 10:40:45 +0100	[thread overview]
Message-ID: <CAJ+HfNjNMhxzXTrwKjOZALO5=3UTgQz0ytyAMs5zoGB0HX29DA@mail.gmail.com> (raw)
In-Reply-To: <046ac5d67f6a447f98266eacaa2c25e5@hm.edu>

On Thu, 12 Mar 2020 at 10:17, Gaul, Maximilian <maximilian.gaul@hm.edu> wrote:
>
[...]
>
> Thank you so much Björn!
>
> just to wrap things up:
>
> - if I want to distribute packet processing from a single RX-Queue to multiple sockets I have to use shared umem because it is not possible to bind multiple af-xdp sockets onto the same RX-Queue

Correct! And you need a tailored XDP program that spreads over the
shared umem sockets!

> - furthermore, you would recommend to go with a single process / multiple threads solution in case of shared umem
>

Yes, and while possible to do multi-process, the solution would be
complex with little gain (IMO).

And please reach out if you have any more questions!

  reply	other threads:[~2020-03-12  9:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fd5e40efd5c1426cb4a5942682407ea2@hm.edu>
2020-03-12  7:55 ` Shared Umem between processes Björn Töpel
2020-03-12  8:20   ` AW: " Gaul, Maximilian
2020-03-12  8:38     ` Björn Töpel
2020-03-12  8:49       ` AW: " Gaul, Maximilian
2020-03-12  9:10         ` Björn Töpel
2020-03-12  9:17           ` AW: " Gaul, Maximilian
2020-03-12  9:40             ` Björn Töpel [this message]
2020-03-12 11:00               ` Toke Høiland-Jørgensen
2020-03-12 11:29                 ` Björn Töpel
2020-03-12 15:48                   ` AW: " Gaul, Maximilian
2020-03-15 15:29                     ` Gaul, Maximilian

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='CAJ+HfNjNMhxzXTrwKjOZALO5=3UTgQz0ytyAMs5zoGB0HX29DA@mail.gmail.com' \
    --to=bjorn.topel@gmail.com \
    --cc=maximilian.gaul@hm.edu \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).