Re: [dpdk-dev] [dts] [PATCH V1] tests/generic_filter: use flow api replace legancy
From: Honnappa Nagarahalli <hidden>
Date: 2021-05-27 02:14:20
<snip>
On Thu, May 6, 2021 at 9:08 AM Bo Chen [off-list ref] wrote:quoted
use flow api replace legancy filter command Signed-off-by: Bo Chen <redacted> --- tests/TestSuite_generic_filter.py | 41 ++++++++++++++++++------------- 1 file changed, 24 insertions(+), 17 deletions(-)diff --git a/tests/TestSuite_generic_filter.pyb/tests/TestSuite_generic_filter.py index d4ea8926..f3ea9774 100644--- a/tests/TestSuite_generic_filter.py +++ b/tests/TestSuite_generic_filter.py@@ -119,6 +119,12 @@ class TestGeneric_filter(TestCase): """ Run before each test case. """ + if self._suite_result.test_case == "test_128_queues": + print('will rebuild dpdk') + self.dut.send_expect( + "sed -i -e 's/#define IXGBE_NONE_MODE_TX_NB_QUEUES + 64$/#define IXGBE_NONE_MODE_TX_NB_QUEUES 128/' + drivers/net/ixgbe/ixgbe_ethdev.h",Patching dpdk to pass a test means there is something wrong either in dpdk or in the test.
Thanks David for adding me. We are starting to discuss these issues in the DTS working group. This looks like a build configuration issue. i.e. meson build system should allow to configure driver specific constants. This is one of the topics that has come up in the meson build system improvements.
-- David Marchand