[dts] [PATCH] tests: Add NIC type "magnolia_park"

Liu, Yong yong.liu at intel.com
Fri Oct 14 17:02:11 CEST 2016


Yuan, please create your patch based on latest master branch instead of your internal branch.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Yuan Peng
> Sent: Friday, October 14, 2016 9:44 AM
> To: dts at dpdk.org
> Cc: Peng, Yuan
> Subject: [dts] [PATCH] tests: Add NIC type "magnolia_park"
> 
> From: pengyuan <yuan.peng at intel.com>
> 
> Signed-off-by: pengyuan <yuan.peng at intel.com>
> 
> diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py
> index b22e77f..1b2e360 100644
> --- a/tests/TestSuite_scatter.py
> +++ b/tests/TestSuite_scatter.py
> @@ -64,7 +64,7 @@ class TestScatter(TestCase):
>          self.intf = self.tester.get_interface(tester_port)
> 
>          self.pmdout = PmdOutput(self.dut)
> -        if self.nic in ["mgpk", "niantic", "sageville", "fortpark",
> "fortville_eagle",
> +        if self.nic in ["magnolia_park", "niantic", "sageville",
> "fortpark", "fortville_eagle",
>                          "fortville_spirit", "fortville_spirit_single",
>                          "redrockcanyou", "atwood", "boulderrapid",
>                          "ironpond", "twinpond", "springfountain",
> "fortpark_TLV"]:
> diff --git a/tests/TestSuite_shutdown_api.py
> b/tests/TestSuite_shutdown_api.py
> index 2b8704c..aaf7f9f 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -336,7 +336,7 @@ class TestShutdownApi(TestCase):
>          self.dut.send_expect("port start all", "testpmd> ", 100)
>          self.dut.send_expect("start", "testpmd> ")
> 
> -        if self.nic in ['mgpk', 'niantic', 'twinpond', 'kawela_4',
> 'ironpond', 'springfountain', 'springville', 'powerville']:
> +        if self.nic in ['magnolia_park', 'niantic', 'twinpond',
> 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']:
>              # nantic vlan length will not be calculated
>              vlan_jumbo_size = jumbo_size + 4
>          else:
> --
> 2.5.0



More information about the dts mailing list