diff options
author | viliam.luc <viliam.luc@pantheon.tech> | 2021-05-19 10:01:47 +0200 |
---|---|---|
committer | Viliam Luc <viliam.luc@pantheon.tech> | 2021-05-26 11:49:48 +0200 |
commit | bf66d4dbf760614e819f7d50bf26defab3e537b5 (patch) | |
tree | bcc095876e511ccd3bd34f823b17859e356eb525 /resources/libraries/python | |
parent | 8c609a6fc0eaf3c8d5b424ed314158251f06479f (diff) |
rxq_ratio default value changed to 1
Change-Id: I0c973ceffc13f4f3c5f959d56cb0890b87091a82
Signed-off-by: Viliam Luc <viliam.luc@pantheon.tech>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/InterfaceUtil.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py index 00a1933196..bf36635915 100644 --- a/resources/libraries/python/InterfaceUtil.py +++ b/resources/libraries/python/InterfaceUtil.py @@ -1684,6 +1684,19 @@ class InterfaceUtil: return sorted(details, key=lambda k: k[u"sw_if_index"]) @staticmethod + def vpp_sw_interface_rx_placement_dump_on_all_duts(nodes): + """Dump VPP interface RX placement on all given nodes. + + :param nodes: Nodes to run command on. + :type nodes: dict + :returns: Thread mapping information as a list of dictionaries. + :rtype: list + """ + for node in nodes.values(): + if node[u"type"] == NodeType.DUT: + InterfaceUtil.vpp_sw_interface_rx_placement_dump(node) + + @staticmethod def vpp_sw_interface_set_rx_placement( node, sw_if_index, queue_id, worker_id): """Set interface RX placement to worker on node. |