tests/generic_filter: use flow api replace legancy
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · Bo Chen
use flow api replace legancy filter command
Signed-off-by Bo Chen <[email protected]>--- tests/TestSuite_generic_filter.py | 41 ++++++++++++++++++------------- 1 file changed, 24 insertions(+), 17 deletions(-)tests/TestSuite_generic_filter.py +0
-0
tests/TestSuite_generic_filter.py class TestGeneric_filter(TestCase): · line 125
Quoted 7 lines
tests/TestSuite_generic_filter.py +4
-0@@ -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.
Signature · 1 line
David Marchand
<snip>
Quoted 21 lines · Bo Chen
Quoted 19 lines
use flow api replace legancy filter command
Signed-off-by Bo Chen <[email protected]>--- tests/TestSuite_generic_filter.py | 41 ++++++++++++++++++------------- 1 file changed, 24 insertions(+), 17 deletions(-)tests/TestSuite_generic_filter.py +1
-0@@ -119,6 +119,12 @@ class TestGeneric_filter(TestCase): """ Run before each test case. """ + if self._suite_result.test_case == "test_128_queues":
Quoted 8 lines
tests/TestSuite_generic_filter.py class TestGeneric_filter(TestCase): · line 127
Quoted 5 lines
tests/TestSuite_generic_filter.py +5
-0+ 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.
Quoted 4 lines
--
David Marchand