Since kernel version 4.15, the mlxsw driver supports offloading the kernel
L3 multicast routing mechanism. This patchset adds a set of 10 new tests
for that feature.
Patches 1-4 introduce the multicast routing support in LNST. The patches
add the support in adding and deleting MFC routes and VIF devices. In
addition, the patches allow the user to init/deinit the mroute socket and
to get the mroute notifications.
Patches 5-7 add some common code to be used by the multicast routing
recipes in the switchdev directory.
Patches 8-17 add 10 new recipes in the switchdev directory, each testing a
different aspect in multicast routing.
Nogah Frankel (4):
Common: Add mcast routing related constants
NetTestSlave: Add mcast routing operations
Machine: Add mcast routing operations
Task: Add mcast routing operations
Yotam Gigi (13):
recipes: switchdev: TestLib: Add multicast router helper
recipes: switchdev: TestLib: Add iperf helper function
recipes: switchdev: Add common code for multicast router recipes
recipes: switchdev: Add the multicast router no-cache recipe
recipes: switchdev: Add the multicast router simple-route recipe
recipes: switchdev: Add the multicast router unresolved route recipe
recipes: switchdev: Add the multicast router route-update recipe
recipes: switchdev: Add the multicast router unresolved VIF RIF recipe
recipes: switchdev: Add the multicast router pimreg route recipe
recipes: switchdev: Add the multicast router nocache route recipe
recipes: switchdev: Add the multicast router lone pimreg recipe
recipes: switchdev: Add the multicast router stressed route update
recipe
recipes: switchdev: Add the multicast router stressed route unresolve
recipe
lnst/Common/Consts.py | 19 ++
lnst/Controller/Machine.py | 49 +++++
lnst/Controller/Task.py | 47 +++++
lnst/Slave/NetTestSlave.py | 129 +++++++++++++
recipes/switchdev/TestLib.py | 37 ++++
recipes/switchdev/mr-001-nocache.py | 55 ++++++
recipes/switchdev/mr-001-nocache.xml | 5 +
recipes/switchdev/mr-002-simple_route.py | 73 ++++++++
recipes/switchdev/mr-002-simple_route.xml | 5 +
recipes/switchdev/mr-003-unres_route.py | 105 +++++++++++
recipes/switchdev/mr-003-unres_route.xml | 5 +
recipes/switchdev/mr-004-route_replace.py | 73 ++++++++
recipes/switchdev/mr-004-route_replace.xml | 5 +
recipes/switchdev/mr-005-unres_route_rif.py | 81 +++++++++
recipes/switchdev/mr-005-unres_route_rif.xml | 5 +
recipes/switchdev/mr-006-pimreg.py | 69 +++++++
recipes/switchdev/mr-006-pimreg.xml | 5 +
recipes/switchdev/mr-007-nocache-route.py | 87 +++++++++
recipes/switchdev/mr-007-nocache-route.xml | 5 +
recipes/switchdev/mr-008-lone-pimreg.py | 72 ++++++++
recipes/switchdev/mr-008-lone-pimreg.xml | 5 +
recipes/switchdev/mr-009-stressed_update.py | 114 ++++++++++++
recipes/switchdev/mr-009-stressed_update.xml | 5 +
recipes/switchdev/mr-010-stressed_unresolve.py | 109 +++++++++++
recipes/switchdev/mr-010-stressed_unresolve.xml | 5 +
recipes/switchdev/mr_common.py | 231 ++++++++++++++++++++++++
recipes/switchdev/mr_common_topology.xml | 78 ++++++++
27 files changed, 1478 insertions(+)
create mode 100644 recipes/switchdev/mr-001-nocache.py
create mode 100644 recipes/switchdev/mr-001-nocache.xml
create mode 100644 recipes/switchdev/mr-002-simple_route.py
create mode 100644 recipes/switchdev/mr-002-simple_route.xml
create mode 100644 recipes/switchdev/mr-003-unres_route.py
create mode 100644 recipes/switchdev/mr-003-unres_route.xml
create mode 100644 recipes/switchdev/mr-004-route_replace.py
create mode 100644 recipes/switchdev/mr-004-route_replace.xml
create mode 100644 recipes/switchdev/mr-005-unres_route_rif.py
create mode 100644 recipes/switchdev/mr-005-unres_route_rif.xml
create mode 100644 recipes/switchdev/mr-006-pimreg.py
create mode 100644 recipes/switchdev/mr-006-pimreg.xml
create mode 100644 recipes/switchdev/mr-007-nocache-route.py
create mode 100644 recipes/switchdev/mr-007-nocache-route.xml
create mode 100644 recipes/switchdev/mr-008-lone-pimreg.py
create mode 100644 recipes/switchdev/mr-008-lone-pimreg.xml
create mode 100644 recipes/switchdev/mr-009-stressed_update.py
create mode 100644 recipes/switchdev/mr-009-stressed_update.xml
create mode 100644 recipes/switchdev/mr-010-stressed_unresolve.py
create mode 100644 recipes/switchdev/mr-010-stressed_unresolve.xml
create mode 100644 recipes/switchdev/mr_common.py
create mode 100644 recipes/switchdev/mr_common_topology.xml
--
2.8.4