diff options
author | Jiri Pirko | 2024-04-24 12:40:46 +0200 |
---|---|---|
committer | Paolo Abeni | 2024-04-26 13:26:53 +0200 |
commit | 41ad836e393aa834039de48c84305dfe7d6aceef (patch) | |
tree | e749f542eae5cf13e18083a27fa9e70517fa8fbf /tools/objtool | |
parent | 96a8326d69fffd7e8c2eb737dc060d8009a33b39 (diff) |
selftests: forwarding: add ability to assemble NETIFS array by driver name
Allow driver tests to work without specifying the netdevice names.
Introduce a possibility to search for available netdevices according to
set driver name. Allow test to specify the name by setting
NETIF_FIND_DRIVER variable.
Note that user overrides this either by passing netdevice names on the
command line or by declaring NETIFS array in custom forwarding.config
configuration file.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions