[dts] [PATCH V1] tests/TestSuite_fdir: add nic sagepond

Tu, Lijuan lijuan.tu at intel.com
Mon Apr 20 07:22:04 CEST 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Jiang, YuX
> Sent: Thursday, April 16, 2020 7:40 PM
> To: dts at dpdk.org
> Cc: Jiang, YuX <yux.jiang at intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_fdir: add nic sagepond
> 
> From: "Jiang,yu" <yux.jiang at intel.com>
> 
> Add nic sagepond to test
> 
> Signed-off-by: Jiang,yu <yux.jiang 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
> e136545..ecda94d 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"]):
> +        elif (self.nic in ["niantic", "sagepond"]):
>              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"]:
> +        if self.nic in ["niantic", "sagepond"]:
>              # 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"]:
> +        if self.nic in ["niantic", "sagepond"]:
>              # 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.17.2



More information about the dts mailing list