Re: [PATCH net-next 2/6] xsk: Add API to check for available entries in FQ

2019-04-26 Thread Alexei Starovoitov
On Fri, Apr 26, 2019 at 11:42:33AM +, Maxim Mikityanskiy wrote: > Add a function that checks whether the Fill Ring has the specified > amount of descriptors available. It will be useful for mlx5e that wants > to check in advance, whether it can allocate a bulk of RX descriptors, > to get the be

[PATCH net-next 2/6] xsk: Add API to check for available entries in FQ

2019-04-26 Thread Maxim Mikityanskiy
Add a function that checks whether the Fill Ring has the specified amount of descriptors available. It will be useful for mlx5e that wants to check in advance, whether it can allocate a bulk of RX descriptors, to get the best performance. Signed-off-by: Maxim Mikityanskiy --- include/net/xdp_soc