aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/DPDK/L3fwdTest.py4
-rw-r--r--resources/libraries/python/DPDK/TestpmdTest.py2
-rw-r--r--resources/libraries/python/DpdkUtil.py4
3 files changed, 3 insertions, 7 deletions
diff --git a/resources/libraries/python/DPDK/L3fwdTest.py b/resources/libraries/python/DPDK/L3fwdTest.py
index 5adab76745..c33810348d 100644
--- a/resources/libraries/python/DPDK/L3fwdTest.py
+++ b/resources/libraries/python/DPDK/L3fwdTest.py
@@ -68,7 +68,7 @@ class L3fwdTest:
if jumbo_frames:
l3fwd_args = DpdkUtil.get_l3fwd_args(
- eal_corelist=f"0,{lcores_list}",
+ eal_corelist=f"1,{lcores_list}",
eal_driver=False,
eal_pci_whitelist0=if_pci0,
eal_pci_whitelist1=if_pci1,
@@ -82,7 +82,7 @@ class L3fwdTest:
)
else:
l3fwd_args = DpdkUtil.get_l3fwd_args(
- eal_corelist=f"0,{lcores_list}",
+ eal_corelist=f"1,{lcores_list}",
eal_driver=False,
eal_pci_whitelist0=if_pci0,
eal_pci_whitelist1=if_pci1,
diff --git a/resources/libraries/python/DPDK/TestpmdTest.py b/resources/libraries/python/DPDK/TestpmdTest.py
index 1eccd7addf..dd30376fd1 100644
--- a/resources/libraries/python/DPDK/TestpmdTest.py
+++ b/resources/libraries/python/DPDK/TestpmdTest.py
@@ -58,7 +58,7 @@ class TestpmdTest:
pmd_max_pkt_len = u"9200" if jumbo_frames else u"1518"
testpmd_args = DpdkUtil.get_testpmd_args(
- eal_corelist=f"0,{lcores_list}",
+ eal_corelist=f"1,{lcores_list}",
eal_driver=False,
eal_pci_whitelist0=if_pci0,
eal_pci_whitelist1=if_pci1,
diff --git a/resources/libraries/python/DpdkUtil.py b/resources/libraries/python/DpdkUtil.py
index 24c4d57652..dcca73db1d 100644
--- a/resources/libraries/python/DpdkUtil.py
+++ b/resources/libraries/python/DpdkUtil.py
@@ -42,10 +42,6 @@ class DpdkUtil:
options.add_with_value_from_dict(
u"w", u"eal_pci_whitelist1", kwargs
)
- # Set master core.
- options.add_with_value(
- u"-master-lcore", u"0"
- )
# Load an external driver. Multiple -d options are allowed.
options.add_with_value_if_from_dict(
u"d", u"/usr/lib/librte_pmd_virtio.so", u"eal_driver", kwargs, True