Re: [PATCH 1/2] mm/page_alloc: free order-0 pages through PCP in page_frag_free()

From: PaweÅ Staszewski
Date: Mon Nov 12 2018 - 12:06:02 EST



W dniu 12.11.2018 oÂ16:44, Eric Dumazet pisze:

On 11/12/2018 07:30 AM, Alexander Duyck wrote:

It sounds to me like XDP would probably be your best bet. With that
you could probably get away with smaller ring sizes, higher interrupt
rates, and get the advantage of it batching the Tx without having to
drop packets.
Add to this that with XDP (or anything lowering per packet processing costs)
you can reduce number of cpus/queues, get better latencies, and bigger TX batches.

Yes for sure - the best for my use case will be to implement XDP :)

But for real life not test lab use programs like xdp_fwd need to be extended for minimal information needed from IP router - like counters and some aditional debug for traffic like sniffing / sampling for ddos detection.

And that is rly minimum needed - for routing IP traffic with XDP