aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2023-07-19 15:24:20 +0200
committerAlexei Starovoitov <ast@kernel.org>2023-07-19 09:56:51 -0700
commit807bf4da204938f01ad2e994ba92e82ac486ea2b (patch)
tree9463af34c98afd7f753f562de44f1ee9139c490a /kernel/bpf/helpers.c
parentselftests/xsk: add metadata copy test for multi-buff (diff)
downloadlinux-rng-807bf4da204938f01ad2e994ba92e82ac486ea2b.tar.xz
linux-rng-807bf4da204938f01ad2e994ba92e82ac486ea2b.zip
selftests/xsk: add test for too many frags
Add a test that will exercise maximum number of supported fragments. This number depends on mode of the test - for SKB and DRV it will be 18 whereas for ZC this is defined by a value from NETDEV_A_DEV_XDP_ZC_MAX_SEGS netlink attribute. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> # made use of new netlink attribute Link: https://lore.kernel.org/r/20230719132421.584801-24-maciej.fijalkowski@intel.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions