xsk: add usage of XDP features flags
authorMarek Majtyka <alardam@gmail.com>
Wed, 1 Feb 2023 10:24:19 +0000 (11:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 3 Feb 2023 04:48:23 +0000 (20:48 -0800)
commit0ae0cb2bb22eb8cf943fa07137068347e1b918c4
treeb71cb77a337130f28e87b55adbb0d0ab7cc02a9a
parent66c0e13ad236c74ea88c7c1518f3cef7f372e3da
xsk: add usage of XDP features flags

Change necessary condition check for XSK from ndo functions to
xdp features flags.

Signed-off-by: Marek Majtyka <alardam@gmail.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/45a98ec67b4556a6a22dfd85df3eb8276beeeb74.1675245258.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
net/xdp/xsk_buff_pool.c