aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2018-06-25 10:48:18 +0300
committerDavid S. Miller <[email protected]>2018-06-26 18:05:22 +0900
commit5b1e7f9ebd5653dc4cc026671ca07d8ab2419a99 (patch)
treeb898c25f0f431fa0eef410e949eb868e98a09460 /lib/test_overflow.c
parent567ad1a2bb6c1e2ca9644d1b47263b7d5e1ff900 (diff)
selftests: forwarding: Test routed bridge interface
Add test for cases where bridge itself acts as a router interface, with front panel port attached to the bridge in question. In the first test (router_bridge.sh), VLAN memberships are not configured in any way, and everything uses default PVID of 1. Thus traffic in $h1 and $h2 is untagged. This test ensures that the previous patches didn't break a currently working scenario. In the second test (router_bridge_vlan.sh), a VLAN 555 pvid untagged is added to the bridge CPU port, with that VLAN leaving the bridge tagged through its sole member port. The traffic is therefore expected to come out tagged at $h1. This tests the fix introduced in the previous patches. Signed-off-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions