* [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic
@ 2019-08-05 10:08 Lin Xueqin
2019-08-06 8:51 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Lin Xueqin @ 2019-08-05 10:08 UTC (permalink / raw)
To: dts; +Cc: Xueqin Lin
From: Xueqin Lin <xueqin.lin@intel.com>
Signed-off-by: Xueqin Lin <xueqin.lin@intel.com>
---
tests/TestSuite_generic_flow_api.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py
index a7810fd..ee94bf7 100644
--- a/tests/TestSuite_generic_flow_api.py
+++ b/tests/TestSuite_generic_flow_api.py
@@ -288,7 +288,7 @@ class TestGeneric_flow_api(TestCase):
if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" % str(MAX_QUEUE + 1) in flow_cmd:
if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela", "bartonhills", "twinville", "sagepond", "sageville", "powerville"]:
self.dut.send_expect(flow_cmd, "error")
- elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd:
+ elif "type is 0x8100" in flow_cmd:
if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV"]:
self.dut.send_expect(flow_cmd, "error")
# vf queue id exceeds max vf queue number.
@@ -301,7 +301,7 @@ class TestGeneric_flow_api(TestCase):
if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" % str(MAX_QUEUE + 1) in flow_cmd:
if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela", "bartonhills", "twinville", "sagepond", "sageville", "powerville"]:
self.dut.send_expect(flow_cmd, "error")
- elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd:
+ elif "type is 0x8100" in flow_cmd:
if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV"]:
self.dut.send_expect(flow_cmd, "error")
# vf queue id exceeds max vf queue number.
@@ -775,6 +775,7 @@ class TestGeneric_flow_api(TestCase):
{'create': 'create', 'flows': ['ether', 'lwapp'], 'actions': ['queue']},
{'create': 'create', 'flows': ['ether', 'ppp'], 'actions': ['drop']},
{'create': 'create', 'flows': ['dst_mac', 'ether', 'mpls'], 'actions': ['queue']},
+ {'create': 'create', 'flows': ['ether', 'lldp'], 'actions': ['queue']},
]
extrapkt_rulenum = self.all_flows_process(basic_flow_actions)
rule_num = extrapkt_rulenum['rulenum']
--
2.7.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic
2019-08-05 10:08 [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic Lin Xueqin
@ 2019-08-06 8:51 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-06 8:51 UTC (permalink / raw)
To: Lin, Xueqin, dts; +Cc: Lin, Xueqin
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lin Xueqin
> Sent: Monday, August 5, 2019 6:09 PM
> To: dts@dpdk.org
> Cc: Lin, Xueqin <xueqin.lin@intel.com>
> Subject: [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test
> for i40e nic
>
> From: Xueqin Lin <xueqin.lin@intel.com>
>
> Signed-off-by: Xueqin Lin <xueqin.lin@intel.com>
>
> ---
> tests/TestSuite_generic_flow_api.py | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_generic_flow_api.py
> b/tests/TestSuite_generic_flow_api.py
> index a7810fd..ee94bf7 100644
> --- a/tests/TestSuite_generic_flow_api.py
> +++ b/tests/TestSuite_generic_flow_api.py
> @@ -288,7 +288,7 @@ class TestGeneric_flow_api(TestCase):
> if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" %
> str(MAX_QUEUE + 1) in flow_cmd:
> if self.nic in ["fortville_eagle", "fortville_spirit",
> "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela",
> "bartonhills", "twinville", "sagepond", "sageville", "powerville"]:
> self.dut.send_expect(flow_cmd, "error")
> - elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd:
> + elif "type is 0x8100" in flow_cmd:
> if self.nic in ["fortville_eagle", "fortville_spirit",
> "fortville_spirit_single", "fortpark_TLV"]:
> self.dut.send_expect(flow_cmd, "error")
> # vf queue id exceeds max vf queue number.
> @@ -301,7 +301,7 @@ class TestGeneric_flow_api(TestCase):
> if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" %
> str(MAX_QUEUE + 1) in flow_cmd:
> if self.nic in ["fortville_eagle", "fortville_spirit",
> "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela",
> "bartonhills", "twinville", "sagepond", "sageville", "powerville"]:
> self.dut.send_expect(flow_cmd, "error")
> - elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd:
> + elif "type is 0x8100" in flow_cmd:
> if self.nic in ["fortville_eagle", "fortville_spirit",
> "fortville_spirit_single", "fortpark_TLV"]:
> self.dut.send_expect(flow_cmd, "error")
> # vf queue id exceeds max vf queue number.
> @@ -775,6 +775,7 @@ class TestGeneric_flow_api(TestCase):
> {'create': 'create', 'flows': ['ether', 'lwapp'], 'actions': ['queue']},
> {'create': 'create', 'flows': ['ether', 'ppp'], 'actions': ['drop']},
> {'create': 'create', 'flows': ['dst_mac', 'ether', 'mpls'], 'actions':
> ['queue']},
> + {'create': 'create', 'flows': ['ether', 'lldp'], 'actions': ['queue']},
> ]
> extrapkt_rulenum = self.all_flows_process(basic_flow_actions)
> rule_num = extrapkt_rulenum['rulenum']
> --
> 2.7.5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-06 9:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05 10:08 [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic Lin Xueqin
2019-08-06 8:51 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).