X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FDpdkUtil.py;fp=resources%2Flibraries%2Fpython%2FDpdkUtil.py;h=bbd6987be4c0e5fc72d1de8d21f5c1d3746fc4a8;hp=edce1721febbdfa407ae4f634d38c330dac13622;hb=01d9a0df1ed8143daa4fdcd0a05bfdcf3f34e7a6;hpb=37f84f1ab71ca4d7401f3a04421ee3bef6c9a455 diff --git a/resources/libraries/python/DpdkUtil.py b/resources/libraries/python/DpdkUtil.py index edce1721fe..bbd6987be4 100644 --- a/resources/libraries/python/DpdkUtil.py +++ b/resources/libraries/python/DpdkUtil.py @@ -67,8 +67,7 @@ class DpdkUtil(object): # Set the number of queues in the RX to N. options.add_equals_from_dict('rxq', 'pmd_rxq', kwargs, 1) # Set the hexadecimal bitmask of offloads. - options.add_equals_if_from_dict( - 'txqflags', '0xf00', 'pmd_tx_offloads', kwargs, True) + options.add_equals_from_dict('tx-offloads', 'pmd_tx_offloads', kwargs) # Set the number of mbufs to be allocated in the mbuf pools. options.add_equals_from_dict('total-num-mbufs', 'pmd_num_mbufs', kwargs) # Disable hardware VLAN.