[dts] [dts 1/5] tests/l3fwd_base:use API to set dpdk config when use meson
lingwei
weix.ling at intel.com
Fri Sep 11 16:45:38 CEST 2020
Signed-off-by: lingwei <weix.ling at intel.com>
---
tests/l3fwd_base.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index 1eccc0e..6f7af8a 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -548,6 +548,7 @@ class L3fwdBase(object):
"CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/"
"CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/' "
"./config/common_base"))
+ self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': 'y'})
self.dut.build_install_dpdk(self.target)
def __restore_compilation(self):
@@ -558,6 +559,7 @@ class L3fwdBase(object):
"CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/"
"CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/' "
"./config/common_base"))
+ self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': 'n'})
self.dut.build_install_dpdk(self.target)
def __preset_compilation(self):
--
2.17.1
More information about the dts
mailing list