summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-01-21 13:22:52 +0000
committerDavid S. Miller <davem@davemloft.net>2019-01-22 20:40:35 -0800
commit1538812e0880e805df3c132e307e9bfd963bf431 (patch)
treed1b0e371a819d0914d0978849e93d05b6c3428b4 /include/linux
parenta2ff7e49ec5035973776665b5bf491de8f3467ae (diff)
downloadcachepc-linux-1538812e0880e805df3c132e307e9bfd963bf431.tar.gz
cachepc-linux-1538812e0880e805df3c132e307e9bfd963bf431.zip
selftests: forwarding: Add a test for VXLAN asymmetric routing
In asymmetric routing the ingress VTEP routes the packet into the correct VXLAN tunnel, whereas the egress VTEP only bridges the packet to the correct host. Therefore, packets in different directions use different VNIs - the target VNI. The test uses a simple topology with two VTEPs and two VNIs and verifies that ping passes between hosts (local / remote) in the same VLAN (VNI) and in different VLANs belonging to the same tenant (VRF). While the test does not check VM mobility, it does configure an anycast gateway using a macvlan device on both VTEPs. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions