Home
last modified time | relevance | path

Searched refs:vxlandev (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/tools/testing/selftests/net/
Dtest_vxlan_vnifiltering.sh242 vxlandev="vxlan$brid"
252 vxlandev="vxlan$tid"
270 if [ "$vxlandev" != "$lastvxlandev" ]; then
271 …ip -netns hv-$hvid link add $vxlandev type vxlan local $localip $vxlandevflags dev veth0 2>/dev/nu…
272 ip -netns hv-$hvid link set $vxlandev master br$brid
273 ip -netns hv-$hvid link set $vxlandev up
274 lastvxlandev=$vxlandev
279 bridge -netns hv-$hvid vlan add vid $vid pvid dev $vxlandev
283 bridge -netns hv-$hvid link set dev $vxlandev vlan_tunnel on
284 bridge -netns hv-$hvid vlan add dev $vxlandev vid $vid tunnel_info id $tid
[all …]
Drtnetlink.sh1083 vxlandev="vxlan10"
1101 $IP link add "$vxlandev" type vxlan id 10 local $localip \
1106 $IP link set dev "$vxlandev" master "$brdev" &>/dev/null
1108 $BRIDGE fdb add $test_mac dev "$vxlandev" master &>/dev/null
1110 $BRIDGE fdb add $test_mac dev "$vxlandev" dst $dstip self &>/dev/null
1113 $BRIDGE fdb get $test_mac brport "$vxlandev" 2>/dev/null | grep -q "dev $vxlandev master $brdev"
1115 $BRIDGE fdb get $test_mac br "$brdev" 2>/dev/null | grep -q "dev $vxlandev master $brdev"
1117 $BRIDGE fdb get $test_mac dev "$vxlandev" self 2>/dev/null | grep -q "dev $vxlandev dst $dstip"