Re: [PATCH net-next v5 10/10] net: axienet: Introduce dmaengine support

From: Jakub Kicinski
Date: Wed Aug 23 2023 - 21:11:22 EST


On Wed, 23 Aug 2023 17:38:58 +0000 Pandey, Radhey Shyam wrote:
> > The kmemcache is not the worst possible option but note that the
> > objects you're allocating (with zeroing) are 512+ bytes. That's
> > pretty large, when most packets will not have full 16 fragments.
> > Ring buffer would allow to better match the allocation size to
> > the packets. Not to mention that it can be done fully locklessly.
>
> I modified the implementation to use a circular ring buffer for TX
> and RX. It seems to be working in initial testing and now running
> perf tests.
>
> Just had one question on when to submit v6 ? Wait till dmaengine
> patches([01/10-[07/10] is part of net-next? Or can I send it now also.

Assuming Linus cuts final this Sunday - after Sept 10th.