[V1] tests/l3fwd_base:support CVL100g and CVL25g NIC type

Message ID 20200916100919.102160-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/l3fwd_base:support CVL100g and CVL25g NIC type |

Commit Message

Ling, WeiX Sept. 16, 2020, 10:09 a.m. UTC
  support CVL100g and CVL25g NIC type

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

Comments

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

Regards,
Ling Wei

-----Original Message-----
From: Ling, WeiX <weix.ling@intel.com> 
Sent: Wednesday, September 16, 2020 06:09 PM
To: dts@dpdk.org
Cc: Ling, WeiX <weix.ling@intel.com>
Subject: [dts][PATCH V1] tests/l3fwd_base:support CVL100g and CVL25g NIC type

support CVL100g and CVL25g NIC type

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

diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py index 6f7af8a..94b6834 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -677,7 +677,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 == "niantic":
+        if self.nic in ["niantic", "columbiaville_100g", "columbiaville_25g"]:
             command_line += " --parse-ptype"
         if frame_size > 1518:
             command_line += " --enable-jumbo --max-pkt-len %d" % frame_size
--
2.17.1
  
Tu, Lijuan Sept. 16, 2020, 3:27 a.m. UTC | #2
> Subject: [dts] [PATCH V1] tests/l3fwd_base:support CVL100g and CVL25g NIC
> type
> 
> support CVL100g and CVL25g NIC type
> 
> Signed-off-by: lingwei <weix.ling@intel.com>

Applied
  

Patch

diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index 6f7af8a..94b6834 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -677,7 +677,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 == "niantic":
+        if self.nic in ["niantic", "columbiaville_100g", "columbiaville_25g"]:
             command_line += " --parse-ptype"
         if frame_size > 1518:
             command_line += " --enable-jumbo --max-pkt-len %d" % frame_size