On Thu, May 6, 2021 at 9:08 AM Bo Chen <box.c.c...@intel.com> wrote: > > use flow api replace legancy filter command > > Signed-off-by: Bo Chen <box.c.c...@intel.com> > --- > tests/TestSuite_generic_filter.py | 41 ++++++++++++++++++------------- > 1 file changed, 24 insertions(+), 17 deletions(-) > > diff --git a/tests/TestSuite_generic_filter.py > b/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. -- David Marchand