Jakub Kicinski 84c6b86875 xsk: don't allow umem replace at stack level
Currently drivers have to check if they already have a umem
installed for a given queue and return an error if so.  Make
better use of XDP_QUERY_XSK_UMEM and move this functionality
to the core.

We need to keep rtnl across the calls now.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-31 09:48:21 -07:00
..
2018-07-30 09:10:25 -07:00
2018-07-24 14:10:42 -07:00
2018-07-30 09:10:25 -07:00
2018-07-30 09:10:25 -07:00
2018-07-24 14:10:42 -07:00
2018-07-18 15:08:31 -07:00
2018-07-30 09:10:25 -07:00
2018-07-30 09:10:25 -07:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00
2018-07-30 09:10:25 -07:00
2018-07-30 09:10:25 -07:00
2018-07-24 14:10:42 -07:00
2018-07-30 09:10:25 -07:00
2018-06-22 06:21:34 +09:00
2018-07-30 09:10:25 -07:00
2018-07-30 09:10:25 -07:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:43 -07:00
2018-07-30 09:10:25 -07:00