commit | 5b3a53c9c843b84955d5a3abda358518a3031630 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@nvidia.com> | Wed Sep 30 12:49:09 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 30 14:06:54 2020 -0700 |
tree | c4b22df3f1a22f0ded7cdbd759d6b840d20830ff | |
parent | 294f44c19fa65b0c813608d7ddfbb378875eb6b0 [diff] |
selftests: forwarding: devlink_lib: Support port-less topologies Some selftests may not need any actual ports. Technically those are not forwarding selftests, but devlink_lib can still be handy. Fall back on NETIF_NO_CABLE in those cases. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>