tests/nic_single_core_perf: add broadcom nic support

Message ID 20210714174756.38730-1-ohilyard@iol.unh.edu (mailing list archive)
State Accepted
Headers
Series tests/nic_single_core_perf: add broadcom nic support |

Commit Message

Owen Hilyard July 14, 2021, 5:47 p.m. UTC
  From: Owen Hilyard <ohilyard@iol.unh.edu>

Add support for brcm_P2100G and brcm_57414 to nic_single_core_perf.

Signed-off-by: Owen Hilyard <ohilyard@iol.unh.edu>
---
 tests/TestSuite_nic_single_core_perf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Owen Hilyard July 22, 2021, 6:34 p.m. UTC | #1
Hello Lijuan,

I just wanted to follow up and ask about the status of this patch. I would
like to minimize the time the community lab is running patches that are not
in mainline DTS.

Owen

On Wed, Jul 14, 2021 at 1:47 PM <ohilyard@iol.unh.edu> wrote:

> From: Owen Hilyard <ohilyard@iol.unh.edu>
>
> Add support for brcm_P2100G and brcm_57414 to nic_single_core_perf.
>
> Signed-off-by: Owen Hilyard <ohilyard@iol.unh.edu>
> ---
>  tests/TestSuite_nic_single_core_perf.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_nic_single_core_perf.py
> b/tests/TestSuite_nic_single_core_perf.py
> index dee189e5..4ccc04ac 100644
> --- a/tests/TestSuite_nic_single_core_perf.py
> +++ b/tests/TestSuite_nic_single_core_perf.py
> @@ -54,7 +54,8 @@ class TestNicSingleCorePerf(TestCase):
>          PMD prerequisites.
>          """
>          self.verify(self.nic in ['niantic', 'fortville_25g',
> 'fortville_spirit', 'ConnectX5_MT4121',
> -                                 'ConnectX4_LX_MT4117',
> 'columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2'],
> +                                 'ConnectX4_LX_MT4117',
> 'columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2',
> +                                 'brcm_57414', 'brcm_P2100G'],
>                                   "Not required NIC ")
>          self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE['ip']
>
> --
> 2.30.2
>
>
  
Tu, Lijuan July 26, 2021, 1:55 a.m. UTC | #2
> -----Original Message-----
> From: ohilyard@iol.unh.edu <ohilyard@iol.unh.edu>
> Sent: 2021年7月15日 1:48
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>; Owen Hilyard <ohilyard@iol.unh.edu>
> Subject: [PATCH] tests/nic_single_core_perf: add broadcom nic support
> 
> From: Owen Hilyard <ohilyard@iol.unh.edu>
> 
> Add support for brcm_P2100G and brcm_57414 to nic_single_core_perf.
> 
> Signed-off-by: Owen Hilyard <ohilyard@iol.unh.edu>

Applied
  

Patch

diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py
index dee189e5..4ccc04ac 100644
--- a/tests/TestSuite_nic_single_core_perf.py
+++ b/tests/TestSuite_nic_single_core_perf.py
@@ -54,7 +54,8 @@  class TestNicSingleCorePerf(TestCase):
         PMD prerequisites.
         """
         self.verify(self.nic in ['niantic', 'fortville_25g', 'fortville_spirit', 'ConnectX5_MT4121',
-                                 'ConnectX4_LX_MT4117', 'columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2'],
+                                 'ConnectX4_LX_MT4117', 'columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2',
+                                 'brcm_57414', 'brcm_P2100G'],
                                  "Not required NIC ")
         self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE['ip']