diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2023-07-19 15:24:20 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-07-19 09:56:51 -0700 |
commit | 807bf4da204938f01ad2e994ba92e82ac486ea2b (patch) | |
tree | 9463af34c98afd7f753f562de44f1ee9139c490a /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
parent | f80ddbec476257a064ee0f57aa018bfc0f4d54d7 (diff) |
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 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions