diff mbox series

[V1] tests/l3fwd_base:vf test suite add --parse-ptype param when start l3fwd

Message ID 20201216143841.76017-1-weix.ling@intel.com (mailing list archive)
State Superseded
Delegated to: LIjuan Tu
Headers show
Series [V1] tests/l3fwd_base:vf test suite add --parse-ptype param when start l3fwd | expand

Commit Message

Ling, WeiX Dec. 16, 2020, 2:38 p.m. UTC
vf test suite add --parse-ptype param when start l3fwd

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/l3fwd_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ling, WeiX Dec. 16, 2020, 7:05 a.m. UTC | #1
Tested-by: Wei Ling <weix.ling@intel.com>

Regards,
Ling Wei

> -----Original Message-----
> From: lingwei <weix.ling@intel.com>
> Sent: Wednesday, December 16, 2020 10:39 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/l3fwd_base:vf test suite add --parse-ptype
> param when start l3fwd
Zhao, HaiyangX Dec. 18, 2020, 5:14 a.m. UTC | #2
Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>

Best Regards,
Zhao Haiyang

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> Sent: Wednesday, December 16, 2020 15:06
> To: Ling, WeiX <weix.ling@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/l3fwd_base:vf test suite add --parse-
> ptype param when start l3fwd
> 
> Tested-by: Wei Ling <weix.ling@intel.com>
> 
> Regards,
> Ling Wei
> 
> > -----Original Message-----
> > From: lingwei <weix.ling@intel.com>
> > Sent: Wednesday, December 16, 2020 10:39 PM
> > To: dts@dpdk.org
> > Cc: Ling, WeiX <weix.ling@intel.com>
> > Subject: [dts][PATCH V1] tests/l3fwd_base:vf test suite add
> > --parse-ptype param when start l3fwd
diff mbox series

Patch

diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index 235ee278..9cbf0bc1 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -671,7 +671,7 @@  class L3fwdBase(object):
                 'whitelist': self.__l3fwd_white_list if self.__l3fwd_white_list else '',
                 'port_mask': utils.create_mask(self.__valports),
                 'config': config, })
-        if self.nic in ["niantic", "columbiaville_100g", "columbiaville_25g", "columbiaville_25gx2"]:
+        if self.__mode is SUITE_TYPE.VF:
             command_line += " --parse-ptype"
         if frame_size > 1518:
             command_line += " --enable-jumbo --max-pkt-len %d" % frame_size