]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: bonding: add ipvlan over bond testing
authorEtienne Champetier <champetier.etienne@gmail.com>
Thu, 9 Jan 2025 03:28:19 +0000 (22:28 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Jan 2025 02:10:24 +0000 (18:10 -0800)
commit08ac69b24507ab06871c18adc421c9d4f1008c61
tree8b9e32af49345939300a26b84126e59beb8a881c
parente79a98e68b96a94d6d997ddbfb92e3969bfa2dfb
selftests: bonding: add ipvlan over bond testing

This rework bond_macvlan.sh into bond_macvlan_ipvlan.sh
We only test bridge mode for macvlan and l2 mode

]# ./bond_macvlan_ipvlan.sh
TEST: active-backup/macvlan_bridge: IPv4: client->server            [ OK ]
...
TEST: active-backup/ipvlan_l2: IPv4: client->server                 [ OK ]
...
TEST: balance-tlb/macvlan_bridge: IPv4: client->server              [ OK ]
...
TEST: balance-tlb/ipvlan_l2: IPv4: client->server                   [ OK ]
...
TEST: balance-alb/macvlan_bridge: IPv4: client->server              [ OK ]
...
TEST: balance-alb/ipvlan_l2: IPv4: client->server                   [ OK ]
...

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Link: https://patch.msgid.link/20250109032819.326528-3-champetier.etienne@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/bonding/Makefile
tools/testing/selftests/drivers/net/bonding/bond_macvlan.sh [deleted file]
tools/testing/selftests/drivers/net/bonding/bond_macvlan_ipvlan.sh [new file with mode: 0755]
tools/testing/selftests/drivers/net/bonding/config