X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FDpdkUtil.py;h=8ee0dde8501d38cac8fcd4c767401e3390ac9af2;hp=fd31f1ddb24f546c14d6ed76a2901eda97351adb;hb=b6606e7625e308a66bdfb9d5a9c065b58e429a99;hpb=9f79a042fa34432bad2c6e8b399df9eb253d8c3a diff --git a/resources/libraries/python/DpdkUtil.py b/resources/libraries/python/DpdkUtil.py index fd31f1ddb2..8ee0dde850 100644 --- a/resources/libraries/python/DpdkUtil.py +++ b/resources/libraries/python/DpdkUtil.py @@ -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 ) @@ -219,10 +219,6 @@ class DpdkUtil: options.add_equals_from_dict( u"config", u"pmd_config", kwargs ) - # Enables jumbo frames. - options.add_if_from_dict( - u"enable-jumbo", u"pmd_enable_jumbo", kwargs, False - ) # Set the max packet length. options.add_with_value_if_from_dict( u"max-pkt-len", u"9200", u"pmd_max_pkt_len", kwargs, False