fix(dpdk): allow
[csit.git] / resources / libraries / python / DpdkUtil.py
index fd31f1d..9f3ee8d 100644 (file)
@@ -37,10 +37,10 @@ class DpdkUtil:
         )
         # Add a PCI device in white list.
         options.add_with_value_from_dict(
-            u"w", u"eal_pci_whitelist0", kwargs
+            u"a", u"eal_pci_whitelist0", kwargs
         )
         options.add_with_value_from_dict(
-            u"w", u"eal_pci_whitelist1", kwargs
+            u"a", u"eal_pci_whitelist1", kwargs
         )
         # Load an external driver. Multiple -d options are allowed.
         options.add_with_value_if_from_dict(
@@ -126,7 +126,7 @@ class DpdkUtil:
         options.add_equals_from_dict(
             u"max-pkt-len", u"pmd_max_pkt_len", kwargs
         )
-        # Set the max packet length.
+        # Set the mbuf size.
         options.add_equals_from_dict(
             u"mbuf-size", u"pmd_mbuf_size", kwargs
         )