[dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic
Tu, Lijuan
lijuan.tu at intel.com
Tue Aug 6 10:51:00 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Lin Xueqin
> Sent: Monday, August 5, 2019 6:09 PM
> To: dts at dpdk.org
> Cc: Lin, Xueqin <xueqin.lin at intel.com>
> Subject: [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test
> for i40e nic
>
> From: Xueqin Lin <xueqin.lin at intel.com>
>
> Signed-off-by: Xueqin Lin <xueqin.lin at 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
More information about the dts
mailing list