Re: [PATCH 2/3] tftp: implement UDP reorder cache using lists

2022-09-19 Thread Sascha Hauer
Hi Enrico, On Fri, Sep 16, 2022 at 04:12:07PM +0200, Enrico Scholz wrote: > Sascha Hauer writes: > > > The UDP reorder cache can be much easier implemented using lists. > > As a bonus the cache grows and shrinks on demand and no fixed size > > has to be configured at compile time. > > There are

Re: [PATCH 2/3] tftp: implement UDP reorder cache using lists

2022-09-16 Thread Enrico Scholz
Sascha Hauer writes: > The UDP reorder cache can be much easier implemented using lists. > As a bonus the cache grows and shrinks on demand and no fixed size > has to be configured at compile time. There are three variants of the cache - small, fixed sized array with linear search (very first

[PATCH 2/3] tftp: implement UDP reorder cache using lists

2022-09-16 Thread Sascha Hauer
The UDP reorder cache can be much easier implemented using lists. As a bonus the cache grows and shrinks on demand and no fixed size has to be configured at compile time. Signed-off-by: Sascha Hauer --- fs/Kconfig | 22 - fs/tftp.c | 242