diff options
| author | Nimrod Oren <noren@nvidia.com> | 2026-07-02 09:23:48 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-08 12:34:23 +0200 |
| commit | 47467501cb88d65f5f3b6eee1cf0b6704b6c43e1 (patch) | |
| tree | d32b1bae6daba34998d544827916224140a85216 /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | 432f4bab1adaaa7d572bc61216aeebb04aec27a4 (diff) | |
selftests: drv-net: xdp: run with both IP versions
Parameterize test cases by IP version using @ksft_variants. Set the
environment's IP version at the start of each case using a new local
helper, which also handles restoring the original value via defer().
The last case is left unparameterized because it does not send traffic
or exercise IP-version-specific code.
While here, fix an int vs str comparison bug `if cfg.addr_ipver == 4`.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Nimrod Oren <noren@nvidia.com>
Link: https://patch.msgid.link/20260702062348.2123960-3-noren@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions
