summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/forwarding/vxlan_reserved.sh
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2025-09-25 19:31:44 +0200
committerJakub Kicinski <kuba@kernel.org>2025-09-26 17:48:36 -0700
commit191c4912f9c3aff76c4e46c92f6031714607e10b (patch)
tree7eef3b661dadfd981bcdbf7332854faf3de2c387 /tools/testing/selftests/net/forwarding/vxlan_reserved.sh
parent9ccec266234a960c63d56fa078ec2873d05a3c16 (diff)
selftests: net: lib: Rename ip_link_add() to adf_*
Rename this function to mark it as autodefer. For details, see the discussion in the cover letter. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/0b163cca1bf2ec44270e0fc89108f488d99d9c9d.1758821127.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/forwarding/vxlan_reserved.sh')
-rwxr-xr-xtools/testing/selftests/net/forwarding/vxlan_reserved.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/forwarding/vxlan_reserved.sh b/tools/testing/selftests/net/forwarding/vxlan_reserved.sh
index 46c31794b91b..692644c3a489 100755
--- a/tools/testing/selftests/net/forwarding/vxlan_reserved.sh
+++ b/tools/testing/selftests/net/forwarding/vxlan_reserved.sh
@@ -60,7 +60,7 @@ h1_create()
switch_create()
{
- ip_link_add br1 type bridge vlan_filtering 0 mcast_snooping 0
+ adf_ip_link_add br1 type bridge vlan_filtering 0 mcast_snooping 0
# Make sure the bridge uses the MAC address of the local port and not
# that of the VxLAN's device.
ip_link_set_addr br1 $(mac_get $swp1)
@@ -200,7 +200,7 @@ vxlan_ping_do()
vxlan_device_add()
{
- ip_link_add vx1 up type vxlan id 1000 \
+ adf_ip_link_add vx1 up type vxlan id 1000 \
local 192.0.2.17 dstport "$VXPORT" \
nolearning noudpcsum tos inherit ttl 100 "$@"
ip_link_set_master vx1 br1