selftests: net: local_termination: refactor macvlan creation/deletion
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 15 Aug 2024 00:06:54 +0000 (03:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Aug 2024 08:59:31 +0000 (09:59 +0100)
commit8d019b15ddd55d6dc5685b1f51902c4aa8e01939
tree6c2b64153b1ac510f0d9c11ea29509be21cebd14
parentb153b3c747003e1ce312ba205e552db4bd9e8df7
selftests: net: local_termination: refactor macvlan creation/deletion

This will be used in other subtests as well; make new macvlan_create()
and macvlan_destroy() functions.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/local_termination.sh