* Queuing disciplines with XDP_REDIRECT
@ 2021-03-10 15:30 Rohit M P
2021-03-10 16:52 ` Rob Sherwood
2021-03-15 12:33 ` Toke Høiland-Jørgensen
0 siblings, 2 replies; 4+ messages in thread
From: Rohit M P @ 2021-03-10 15:30 UTC (permalink / raw)
To: xdp-newbies
Hi folks,
I was experimenting with XDP where I'm able to route the packets using
XDP_REDIRECT.
Could anyone point me towards using kernel queuing disciplines along
with this if it's possible, or other possible alternatives for queuing
disciplines while using XDP_REDIRECT?
Regards,
Rohit M P
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Queuing disciplines with XDP_REDIRECT
2021-03-10 15:30 Queuing disciplines with XDP_REDIRECT Rohit M P
@ 2021-03-10 16:52 ` Rob Sherwood
2021-03-15 12:33 ` Toke Høiland-Jørgensen
1 sibling, 0 replies; 4+ messages in thread
From: Rob Sherwood @ 2021-03-10 16:52 UTC (permalink / raw)
To: Rohit M P; +Cc: xdp-newbies
If you're interested in using the kernel's queuing features (e.g., tc)
there's a separate eBPF attachment point for tc that you might use
directly. Check out
https://man7.org/linux/man-pages/man8/tc-bpf.8.html if that's of
interest.
- Rob
.
On Wed, Mar 10, 2021 at 7:32 AM Rohit M P <rohitmp99@gmail.com> wrote:
>
> Hi folks,
>
> I was experimenting with XDP where I'm able to route the packets using
> XDP_REDIRECT.
> Could anyone point me towards using kernel queuing disciplines along
> with this if it's possible, or other possible alternatives for queuing
> disciplines while using XDP_REDIRECT?
>
> Regards,
> Rohit M P
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Queuing disciplines with XDP_REDIRECT
2021-03-10 15:30 Queuing disciplines with XDP_REDIRECT Rohit M P
2021-03-10 16:52 ` Rob Sherwood
@ 2021-03-15 12:33 ` Toke Høiland-Jørgensen
2021-03-17 14:33 ` Rohit M P
1 sibling, 1 reply; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-03-15 12:33 UTC (permalink / raw)
To: Rohit M P, xdp-newbies
Rohit M P <rohitmp99@gmail.com> writes:
> Hi folks,
>
> I was experimenting with XDP where I'm able to route the packets using
> XDP_REDIRECT.
> Could anyone point me towards using kernel queuing disciplines along
> with this if it's possible, or other possible alternatives for queuing
> disciplines while using XDP_REDIRECT?
This is not currently possible. It's on our radar, though:
https://xdp-project.net/#Queueing-and-QoS - and we have a PhD student
who has started looking into this.
It may be a while before anything concrete materialises, though; in the
meantime you'll have to rely on TC if you want proper queueing with
BPF...
-Toke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Queuing disciplines with XDP_REDIRECT
2021-03-15 12:33 ` Toke Høiland-Jørgensen
@ 2021-03-17 14:33 ` Rohit M P
0 siblings, 0 replies; 4+ messages in thread
From: Rohit M P @ 2021-03-17 14:33 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: xdp-newbies
Thank you for the response. Helps a lot!
On Mon, Mar 15, 2021 at 6:03 PM Toke Høiland-Jørgensen <toke@redhat.com> wrote:
>
> Rohit M P <rohitmp99@gmail.com> writes:
>
> > Hi folks,
> >
> > I was experimenting with XDP where I'm able to route the packets using
> > XDP_REDIRECT.
> > Could anyone point me towards using kernel queuing disciplines along
> > with this if it's possible, or other possible alternatives for queuing
> > disciplines while using XDP_REDIRECT?
>
> This is not currently possible. It's on our radar, though:
> https://xdp-project.net/#Queueing-and-QoS - and we have a PhD student
> who has started looking into this.
>
> It may be a while before anything concrete materialises, though; in the
> meantime you'll have to rely on TC if you want proper queueing with
> BPF...
>
> -Toke
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-17 14:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 15:30 Queuing disciplines with XDP_REDIRECT Rohit M P
2021-03-10 16:52 ` Rob Sherwood
2021-03-15 12:33 ` Toke Høiland-Jørgensen
2021-03-17 14:33 ` Rohit M P
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.