Re: XDP packet queueing and scheduling capabilities

Toke Høiland-Jørgensen <[email protected]> Wed, 14 Feb 2024 17:21:32 +0100
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
Marcus Wichelmann <[email protected]> writes:

> Am 13.02.24 um 14:03 schrieb Toke Høiland-Jørgensen:
>> What's your interest in this? I.e., what do you want to use them for?
>> Would be useful to know so I can make sure this is covered :)
>
> Hi, just wanting to let you know that we're also still very interested 
> in this for our cloud-provider use case.
>
> We use XDP to route packets to and from VMs and want to also apply 
> firewall rules on the way. For this, we need to buffer/delay reordered 
> IP fragments that arrived before the first fragment until we have seen 
> the required L4 header.
>
> Having a packet queue for this, like in your patch, that can also be 
> dequeued again, would definitively be helpful for that.
>
> We'd also like to implement shaping in the future, so this is also very 
> interesting for us.

Great, thanks for the feedback! Hadn't thought about frag reassembly,
but that should definitely be possible as well; will keep that in mind! :)

-Toke