[dts] [PATCH V1] tests/TestSuite_generic_flow_api Enable CVL to support tunnel filter vxlan and nvgre fdir IPV4 ipv6 and vxlan

Tu, Lijuan lijuan.tu at intel.com
Mon Oct 21 04:23:02 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhiwei.he
> Sent: Saturday, October 12, 2019 9:46 PM
> To: dts at dpdk.org
> Cc: He, Zhiwei <zhiwei.he at intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_generic_flow_api Enable CVL to
> support tunnel filter vxlan and nvgre fdir IPV4 ipv6 and vxlan
> 
> From: "zhiwei.he" <zhiwei.he at intel.com>
> 
> Signed-off-by: zhiwei.he <zhiwei.he at intel.com>
> ---
>  tests/TestSuite_generic_flow_api.py | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/tests/TestSuite_generic_flow_api.py
> b/tests/TestSuite_generic_flow_api.py
> index e0a4aa6..0b08d90 100644
> --- a/tests/TestSuite_generic_flow_api.py
> +++ b/tests/TestSuite_generic_flow_api.py
> @@ -770,7 +770,7 @@ class TestGeneric_flow_api(TestCase):
>          """
>          supported by i40e, ixgbe and igb
>          """
> -        self.verify(self.nic in ["niantic", "kawela_4", "kawela", "bartonhills",
> "twinville", "sagepond", "sageville",
> +        self.verify(self.nic in ["niantic",
> + "columbiaville_25g","columbiaville_100g","kawela_4", "kawela",
> + "bartonhills", "twinville", "sagepond", "sageville",
>                                   "powerville", "fortville_eagle", "fortville_spirit",
>                                   "fortville_spirit_single", "fortpark_TLV"], "%s nic not
> support ethertype filter" % self.nic)
> 
> @@ -782,7 +782,7 @@ class TestGeneric_flow_api(TestCase):
> 
>          # i40e,ixgbe and igb support different packet types.
>          if (self.nic in ["fortville_eagle", "fortville_spirit",
> -                         "fortville_spirit_single", "fortpark_TLV"]):
> +                         "fortville_spirit_single",
> "fortpark_TLV","columbiaville_25g","columbiaville_100g"]):
> 
>              basic_flow_actions = [
>                  {'create': 'validate', 'flows': ['ether', 'arp'], 'actions': ['queue']}, @@
> -979,12 +979,12 @@ class TestGeneric_flow_api(TestCase):
>          """
>          only supported by i40e and ixgbe
>          """
> -        self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville",
> +        self.verify(self.nic in ["niantic",
> + "columbiaville_25g","columbiaville_100g","twinville", "sagepond",
> + "sageville",
>                                   "fortville_eagle", "fortville_spirit",
>                                   "fortville_spirit_single", "fortpark_TLV"],
>                      "%s nic not support fdir ipv4 filter" % self.nic)
>          # i40e
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","columbiaville_25g","columbiaville_100g",
>                           "fortville_spirit_single", "fortpark_TLV"]):
>              self.setup_env()
>              # start testpmd on pf
> @@ -1088,12 +1088,12 @@ class TestGeneric_flow_api(TestCase):
>          """
>          only supported by i40e and ixgbe
>          """
> -        self.verify(self.nic in ["niantic", "twinville", "sagepond", "sageville",
> +        self.verify(self.nic in ["niantic", "twinville", "sagepond",
> + "sageville","columbiaville_25g","columbiaville_100g",
>                                   "fortville_eagle", "fortville_spirit",
>                                   "fortville_spirit_single", "fortpark_TLV"],
>                      "%s nic not support fdir ipv6 filter" % self.nic)
>          # i40e
> -        if (self.nic in ["fortville_eagle", "fortville_spirit",
> +        if (self.nic in ["fortville_eagle",
> + "fortville_spirit","columbiaville_25g","columbiaville_100g",
>                           "fortville_spirit_single", "fortpark_TLV"]):
>              self.setup_env()
>              self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter-
> mode=perfect --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1,
> MAX_QUEUE+1), "-w %s --file-prefix=pf --socket-mem 1024,1024 --legacy-
> mem" % self.pf_pci) @@ -1495,7 +1495,7 @@ class
> TestGeneric_flow_api(TestCase):
>          """
>          only supported by ixgbe
>          """
> -        self.verify(self.nic in ["twinville", "sagepond", "sageville"], "%s nic not
> support fdir vxlan filter" % self.nic)
> +        self.verify(self.nic in ["twinville", "sagepond",
> + "sageville","columbiaville_25g","columbiaville_100g"], "%s nic not
> + support fdir vxlan filter" % self.nic)
> 
>          self.pmdout.start_testpmd("%s" % self.cores, "--pkt-filter-
> mode=perfect-tunnel --disable-rss --rxq=%d --txq=%d" % (MAX_QUEUE+1,
> MAX_QUEUE+1))
>          self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -1537,7
> +1537,7 @@ class TestGeneric_flow_api(TestCase):
>          """
>          only supported by i40e
>          """
> -        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +        self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","columbiaville_25g","columbiaville_100g",
>                                   "fortville_spirit_single", "fortpark_TLV"],
>                      "%s nic not support tunnel vxlan filter" % self.nic)
> 
> @@ -1601,7 +1601,7 @@ class TestGeneric_flow_api(TestCase):
>          """
>          only supported by i40e
>          """
> -        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> +        self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","columbiaville_25g","columbiaville_100g",
>                                   "fortville_spirit_single", "fortpark_TLV"],
>                      "%s nic not support tunnel nvgre filter" % self.nic)
> 
> --
> 1.8.3.1



More information about the dts mailing list