[dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_25g
Tu, Lijuan
lijuan.tu at intel.com
Fri Nov 9 04:54:03 CET 2018
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Wenjie Li
> Sent: Friday, November 9, 2018 11:45 AM
> To: dts at dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts] [PATCH V2 1/2] tests/rss_to_rte_flow: append fvl_25g
>
>
> 1. disable_enable_rss and enable_ipv4_udp_rss: "show port 0 rss-hash"
> returns different values on i40e and other nics, add fvl_25g to i40e list.
> 2. enable_ipv4_udp_rss: expected queue id changes to "0" for i40e nics and
> "all" for the others, add fvl_25g to i40e list.
> 3. set_key_keylen: could support fvl_25, so append this nic.
>
>
> Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
> ---
> tests/TestSuite_rss_to_rte_flow.py | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/tests/TestSuite_rss_to_rte_flow.py
> b/tests/TestSuite_rss_to_rte_flow.py
> index e258b2e..0e81140 100644
> --- a/tests/TestSuite_rss_to_rte_flow.py
> +++ b/tests/TestSuite_rss_to_rte_flow.py
> @@ -184,7 +184,7 @@ class TestRSS_to_Rteflow(TestCase):
>
> # Show port default RSS fuctions
> if (self.nic in ["fortville_eagle", "fortville_spirit",
> - "fortville_spirit_single", "fortpark_TLV"]):
> + "fortville_spirit_single", "fortpark_TLV",
> "fortville_25g"]):
> self.dut.send_expect(
> "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag
> ipv6-other ip")
> else:
> @@ -210,7 +210,7 @@ class TestRSS_to_Rteflow(TestCase):
> self.dut.send_expect(
> "flow create 0 ingress pattern end actions rss types all end /
> end", "created")
> if (self.nic in ["fortville_eagle", "fortville_spirit",
> - "fortville_spirit_single", "fortpark_TLV"]):
> + "fortville_spirit_single", "fortpark_TLV",
> "fortville_25g"]):
> self.dut.send_expect(
> "show port 0 rss-hash", "all ipv4-frag ipv4-tcp ipv4-udp
> ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other
> l2-payload ip udp tcp sctp")
> else:
> @@ -233,7 +233,7 @@ class TestRSS_to_Rteflow(TestCase):
>
> # Show port default RSS fuctions
> if (self.nic in ["fortville_eagle", "fortville_spirit",
> - "fortville_spirit_single", "fortpark_TLV"]):
> + "fortville_spirit_single", "fortpark_TLV",
> "fortville_25g"]):
> self.dut.send_expect(
> "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag
> ipv6-other ip")
> else:
> @@ -247,7 +247,7 @@ class TestRSS_to_Rteflow(TestCase):
> self.send_packet("ipv4-udp", self.tester_itf)
> out = self.dut.send_expect("stop", "testpmd> ", 120)
> if (self.nic in ["fortville_eagle", "fortville_spirit",
> - "fortville_spirit_single", "fortpark_TLV"]):
> + "fortville_spirit_single", "fortpark_TLV",
> "fortville_25g"]):
> self.check_packet_queue("0", out)
> else:
> self.check_packet_queue("all", out) @@ -396,7 +396,7 @@
> class TestRSS_to_Rteflow(TestCase):
> """
> # Only supported by i40e
> self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> - "fortville_spirit_single",
> "fortpark_TLV"], "NIC Unsupported: " + str(self.nic))
> + "fortville_spirit_single",
> + "fortpark_TLV", "fortville_25g"], "NIC Unsupported: " + str(self.nic))
> pkt1 =
> "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=100,
> dport=200)/('X'*48)" % self.pf_mac
> pkt2 =
> "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=100,
> dport=201)/('X'*48)" % self.pf_mac
> pkt3 =
> "Ether(dst='%s')/IP(src='0.0.0.0',dst='4.0.0.0')/UDP(sport=101,
> dport=201)/('X'*48)" % self.pf_mac
> --
> 2.17.2
More information about the dts
mailing list