Re: [RFC] net: xsk: add a simple buffer reuse queue

2018-08-31 Thread Björn Töpel
On 2018-08-29 21:19, Jakub Kicinski wrote: XSK UMEM is strongly single producer single consumer so reuse of frames is challenging. Add a simple "stash" of FILL packets to reuse for drivers to optionally make use of. This is useful when driver has to free (ndo_stop) or resize a ring with an acti

[RFC] net: xsk: add a simple buffer reuse queue

2018-08-29 Thread Jakub Kicinski
XSK UMEM is strongly single producer single consumer so reuse of frames is challenging. Add a simple "stash" of FILL packets to reuse for drivers to optionally make use of. This is useful when driver has to free (ndo_stop) or resize a ring with an active AF_XDP ZC socket. Signed-off-by: Jakub Ki