summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/automation/regression/stateless_tests/stl_benchmark_test.py3
-rwxr-xr-xscripts/dpdk_nic_bind.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_benchmark_test.py b/scripts/automation/regression/stateless_tests/stl_benchmark_test.py
index 0f3a381c..48d41f6b 100755
--- a/scripts/automation/regression/stateless_tests/stl_benchmark_test.py
+++ b/scripts/automation/regression/stateless_tests/stl_benchmark_test.py
@@ -25,7 +25,8 @@ class STLBenchmark_Test(CStlGeneral_Test):
self.stl_trex.clear_stats()
sleep(1)
self.stl_trex.add_streams(profile)
- self.stl_trex.start(mult = '10%')
+ mult = '1%' if self.is_virt_nics else '10%'
+ self.stl_trex.start(mult = mult)
start_time = time()
for i in range(timeout + 1):
diff --git a/scripts/dpdk_nic_bind.py b/scripts/dpdk_nic_bind.py
index 13806fd1..dcb84823 100755
--- a/scripts/dpdk_nic_bind.py
+++ b/scripts/dpdk_nic_bind.py
@@ -538,7 +538,7 @@ def show_table():
devices[pci]['MAC'] = mac
table = texttable.Texttable(max_width=-1)
- table.header(['ID', 'NUMA', 'PCI', 'MAC', 'Name', 'Driver', 'Linux interface', 'Active'])
+ table.header(['ID', 'NUMA', 'PCI', 'MAC', 'Name', 'Driver', 'Linux IF', 'Active'])
for id, pci in enumerate(sorted(devices.keys())):
d = devices[pci]
table.add_row([id, d['NUMA'], d['Slot_str'], d.get('MAC', ''), d['Device_str'], d.get('Driver_str', ''), d['Interface'], d['Active']])