[dts] [PATCH V1] tests/fdir:add NIC sageville

Tu, Lijuan lijuan.tu at intel.com
Thu Apr 23 08:37:21 CEST 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Mei Jianwei
> Sent: Wednesday, April 22, 2020 11:54 PM
> To: dts at dpdk.org
> Cc: Mei, JianweiX <jianweix.mei at intel.com>
> Subject: [dts] [PATCH V1] tests/fdir:add NIC sageville
> 
> add nic sageville.
> 
> Signed-off-by: Mei Jianwei <jianweix.mei at intel.com>
> ---
>  tests/TestSuite_fdir.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py index
> a7c98bd..2b34776 100644
> --- a/tests/TestSuite_fdir.py
> +++ b/tests/TestSuite_fdir.py
> @@ -242,7 +242,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
>                  self.flexbytes =
> '0x0,0x0,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0'
>              self.payload =
> b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77'
>              self.flexlength = 16
> -        elif (self.nic in ["niantic", "sagepond"]):
> +        elif (self.nic in ["niantic", "sagepond", "sageville"]):
>              self.flexbytes = "0x00,0x00"
>              self.payload =
> b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77'
>              self.flexlength = 2
> @@ -329,7 +329,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
>          """
> 
>          self.dut.kill_all()
> -        if self.nic in ["niantic", "sagepond"]:
> +        if self.nic in ["niantic", "sagepond", "sageville"]:
>              # Niantic ipv6 only support signature mode
>              self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --
> portmask=%s --disable-rss  --rxq=4 --txq=4 --nb-cores=4  --nb-ports=1 --pkt-
> filter-mode=signature" % (self.target, self.coreMask,
> utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
>          elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single",
> "fortpark_TLV", "fortpark_BASE-T","fortville_25g", "carlsville"]:
> @@ -614,7 +614,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
> 
>          self.dut.kill_all()
>          # fwd testing with flexword
> -        if self.nic in ["niantic", "sagepond"]:
> +        if self.nic in ["niantic", "sagepond", "sageville"]:
>              # Niantic ipv6 only support signature mode
>              self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i --
> portmask=%s --disable-rss  --rxq=4 --txq=4 --nb-cores=4  --nb-ports=1 --pkt-
> filter-mode=signature" % (self.target, self.coreMask,
> utils.create_mask([self.dut_ports[0]])), "testpmd>", 120)
>          elif self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single",
> "fortpark_TLV","fortpark_BASE-T", "fortville_25g", "carlsville"]:
> --
> 2.18.2



More information about the dts mailing list