From: Ido Schimmel <idosch(a)mellanox.com>
Hi,
Patches 1-11 add the missing lldptool and devlink infrastructure to LNST
and also extend the PktgenTx module for the QoS recipes.
Patches 12-16 add the individual QoS recipes.
Please check the individual commit messages for more details.
Thanks.
v1->v2:
-------
* 01/16 - Replace lldpad enable / disable with generic service
enable / disable methods. Supports both Systemd and SysVinit based
systems (Ondrej)
* 03/16 - Return a dictionary of all the ethtool statistics instead
of just one stat (Ondrej)
* Make sure switchdev recipes set 'vlan_id' before 'vlan_p' in pktgen
options (Jan)
* Change the individual recipes according to the above changes
Ido Schimmel (16):
HostAPI: Add enable / disable service methods
HostAPI: Allow recipes to query number of CPUs
InterfaceAPI: Add ethtool statistics query
InterfaceAPI: Add LLDP support
InterfaceAPI: Add PAUSE frames setting methods
PktgenTx: Add per-thread options
PktgenTx: Remove all devices from all threads in init
recipes: switchdev: TestLib: Add wrappers for LLDP operations
recipes: switchdev: TestLib: Add wrappers for devlink operations
recipes: switchdev: TestLib: Add kwargs support for pktgen invocation
recipes: switchdev: TestLib: Set VLAN ID before PCP
recipes: switchdev: qos: Add recipe for PCP to PG mapping
recipes: switchdev: qos: Add recipe for PCP to TC mapping
recipes: switchdev: qos: Add recipe for PAUSE frames
recipes: switchdev: qos: Add recipe for PFC frames
recipes: switchdev: qos: Add recipe for ETS
lnst/Controller/Machine.py | 34 +++++++
lnst/Controller/Task.py | 21 +++++
lnst/Slave/InterfaceManager.py | 22 +++++
lnst/Slave/NetConfigDevice.py | 20 ++++
lnst/Slave/NetTestSlave.py | 54 +++++++++++
recipes/switchdev/TestLib.py | 168 +++++++++++++++++++++++++++++++++-
recipes/switchdev/default_aliases.xml | 4 +
recipes/switchdev/qos-001-pg.py | 71 ++++++++++++++
recipes/switchdev/qos-001-pg.xml | 22 +++++
recipes/switchdev/qos-002-tc.py | 71 ++++++++++++++
recipes/switchdev/qos-002-tc.xml | 22 +++++
recipes/switchdev/qos-003-pause.py | 91 ++++++++++++++++++
recipes/switchdev/qos-003-pause.xml | 22 +++++
recipes/switchdev/qos-004-pfc.py | 95 +++++++++++++++++++
recipes/switchdev/qos-004-pfc.xml | 22 +++++
recipes/switchdev/qos-005-ets.py | 133 +++++++++++++++++++++++++++
recipes/switchdev/qos-005-ets.xml | 22 +++++
test_modules/PktgenTx.py | 16 +++-
18 files changed, 904 insertions(+), 6 deletions(-)
create mode 100644 recipes/switchdev/qos-001-pg.py
create mode 100644 recipes/switchdev/qos-001-pg.xml
create mode 100644 recipes/switchdev/qos-002-tc.py
create mode 100644 recipes/switchdev/qos-002-tc.xml
create mode 100644 recipes/switchdev/qos-003-pause.py
create mode 100644 recipes/switchdev/qos-003-pause.xml
create mode 100644 recipes/switchdev/qos-004-pfc.py
create mode 100644 recipes/switchdev/qos-004-pfc.xml
create mode 100644 recipes/switchdev/qos-005-ets.py
create mode 100644 recipes/switchdev/qos-005-ets.xml
--
2.7.4
Show replies by thread