test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf
@ 2021-01-27  6:54 Xia Yan
  2021-01-27  8:45 ` Lin, Xueqin
  2021-02-02  8:39 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xia Yan @ 2021-01-27  6:54 UTC (permalink / raw)
  To: dts; +Cc: Xia Yan

 add "transfer" in cmd for rule of vf

Signed-off-by: Xia Yan <yanx.xia@intel.com>
---
 test_plans/generic_flow_api_test_plan.rst | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/test_plans/generic_flow_api_test_plan.rst b/test_plans/generic_flow_api_test_plan.rst
index 33f5ec1c..6a36a635 100644
--- a/test_plans/generic_flow_api_test_plan.rst
+++ b/test_plans/generic_flow_api_test_plan.rst
@@ -252,11 +252,11 @@ Test case: Fortville fdir for ipv4
 
    ipv4-other-vf0::
 
-    testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 1 / end
+    testpmd> flow create 0 ingress transfer pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 1 / end
 
    ipv4-sctp-vf1::
 
-    testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 4 / sctp src is 46 dst is 47 tag is 1 / vf id is 1 / end actions queue index 2 / end
+    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 2 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 4 / sctp src is 46 dst is 47 tag is 1 / vf id is 1 / end actions queue index 2 / end
 
    ipv4-sctp drop::
 
@@ -357,11 +357,11 @@ Test case: Fortville fdir for ipv6
 
    ipv6-other-vf0::
 
-    testpmd> flow create 0 ingress pattern eth / vlan tci is 5 / ipv6 src is 2001::3 dst is 2001::4 tc is 5 proto is 5 hop is 50 / vf id is 0 / end actions queue index 1 / end
+    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 5 / ipv6 src is 2001::3 dst is 2001::4 tc is 5 proto is 5 hop is 50 / vf id is 0 / end actions queue index 1 / end
 
    ipv6-tcp-vf1::
 
-    testpmd> flow create 0 ingress pattern eth / vlan tci is 4095 / ipv6 src is 2001::3 dst is 2001::4 tc is 6 hop is 60 / tcp src is 32 dst is 33 / vf id is 1 / end actions queue index 3 / end
+    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 4095 / ipv6 src is 2001::3 dst is 2001::4 tc is 6 hop is 60 / tcp src is 32 dst is 33 / vf id is 1 / end actions queue index 3 / end
 
    ipv6-sctp-drop::
 
@@ -369,7 +369,7 @@ Test case: Fortville fdir for ipv6
 
    ipv6-tcp-vf1-drop::
 
-    testpmd> flow create 0 ingress pattern eth / vlan tci is 8 / ipv6 src is 2001::3 dst is 2001::4 tc is 8 hop is 80 / tcp src is 32 dst is 33 / vf id is 1 / end actions drop / end
+    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 8 / ipv6 src is 2001::3 dst is 2001::4 tc is 8 hop is 80 / tcp src is 32 dst is 33 / vf id is 1 / end actions drop / end
 
 3. send packets::
 
@@ -438,7 +438,7 @@ Test case: Fortville fdir wrong parameters
 
    If create a rule on vf that has invalid queue ID::
 
-    testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 4 / end
+    testpmd> flow create 0 ingress transfer pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 4 / end
 
    it shows "Caught error type 11 (specific action): cause: 0x7ffc7bb9a338,
    Invalid queue ID for FDIR".
@@ -501,11 +501,11 @@ Test case: Fortville tunnel vxlan
 
    vni + inner mac + inner vlan + actions vf::
 
-    testpmd> flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 6 / eth dst is 00:11:22:33:44:55 / vlan tci is 30 / end actions vf id 0 / queue index 1 / end
+    testpmd> flow create 0 ingress transfer pattern eth / ipv4 / udp / vxlan vni is 6 / eth dst is 00:11:22:33:44:55 / vlan tci is 30 / end actions vf id 0 / queue index 1 / end
 
    inner mac + outer mac + vni + actions vf::
 
-    testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:66 / ipv4 / udp / vxlan vni is 7 /  eth dst is 00:11:22:33:44:55 / end actions vf id 0 / queue index 3 / end
+    testpmd> flow create 0 ingress transfer pattern eth dst is 00:11:22:33:44:66 / ipv4 / udp / vxlan vni is 7 /  eth dst is 00:11:22:33:44:55 / end actions vf id 0 / queue index 3 / end
 
 3. send packets::
 
@@ -610,11 +610,11 @@ Test case: Fortville tunnel nvgre
 
    tni + inner mac + inner vlan + actions vf::
 
-    testpmd> flow create 0 ingress pattern eth / ipv4 / nvgre tni is 0x112266 / eth dst is 00:11:22:33:44:55 / vlan tci is 60 / end actions vf id 0 / queue index 1 / end
+    testpmd> flow create 0 ingress transfer pattern eth / ipv4 / nvgre tni is 0x112266 / eth dst is 00:11:22:33:44:55 / vlan tci is 60 / end actions vf id 0 / queue index 1 / end
 
    inner mac + outer mac + tni + actions vf::
 
-    testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:66 / ipv4 / nvgre tni is 0x112277 /  eth dst is 00:11:22:33:44:55 / end actions vf id 1 / queue index 3 / end
+    testpmd> flow create 0 ingress transfer pattern eth dst is 00:11:22:33:44:66 / ipv4 / nvgre tni is 0x112277 /  eth dst is 00:11:22:33:44:55 / end actions vf id 1 / queue index 3 / end
 
 3. send packets::
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf
  2021-01-27  6:54 [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf Xia Yan
@ 2021-01-27  8:45 ` Lin, Xueqin
  2021-02-02  8:39 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Lin, Xueqin @ 2021-01-27  8:45 UTC (permalink / raw)
  To: Xia, YanX, dts; +Cc: Xia, YanX

Acked-by: Xueqin Lin<xueqin.lin@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xia Yan
> Sent: Wednesday, January 27, 2021 2:54 PM
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify
> cmd for rule of vf
> 
>  add "transfer" in cmd for rule of vf
> 
> Signed-off-by: Xia Yan <yanx.xia@intel.com>
> ---
>  test_plans/generic_flow_api_test_plan.rst | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/test_plans/generic_flow_api_test_plan.rst
> b/test_plans/generic_flow_api_test_plan.rst
> index 33f5ec1c..6a36a635 100644
> --- a/test_plans/generic_flow_api_test_plan.rst
> +++ b/test_plans/generic_flow_api_test_plan.rst
> @@ -252,11 +252,11 @@ Test case: Fortville fdir for ipv4
> 
>     ipv4-other-vf0::
> 
> -    testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is
> 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 1 / end
> +    testpmd> flow create 0 ingress transfer pattern eth / ipv4 src is
> 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index
> 1 / end
> 
>     ipv4-sctp-vf1::
> 
> -    testpmd> flow create 0 ingress pattern eth / vlan tci is 2 / ipv4 src is
> 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 4 / sctp src is 46 dst is 47 tag is 1 /
> vf id is 1 / end actions queue index 2 / end
> +    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 2 / ipv4 src
> is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 4 / sctp src is 46 dst is 47 tag is 1
> / vf id is 1 / end actions queue index 2 / end
> 
>     ipv4-sctp drop::
> 
> @@ -357,11 +357,11 @@ Test case: Fortville fdir for ipv6
> 
>     ipv6-other-vf0::
> 
> -    testpmd> flow create 0 ingress pattern eth / vlan tci is 5 / ipv6 src is
> 2001::3 dst is 2001::4 tc is 5 proto is 5 hop is 50 / vf id is 0 / end actions queue
> index 1 / end
> +    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 5 / ipv6 src
> is 2001::3 dst is 2001::4 tc is 5 proto is 5 hop is 50 / vf id is 0 / end actions
> queue index 1 / end
> 
>     ipv6-tcp-vf1::
> 
> -    testpmd> flow create 0 ingress pattern eth / vlan tci is 4095 / ipv6 src is
> 2001::3 dst is 2001::4 tc is 6 hop is 60 / tcp src is 32 dst is 33 / vf id is 1 / end
> actions queue index 3 / end
> +    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 4095 / ipv6
> src is 2001::3 dst is 2001::4 tc is 6 hop is 60 / tcp src is 32 dst is 33 / vf id is 1 /
> end actions queue index 3 / end
> 
>     ipv6-sctp-drop::
> 
> @@ -369,7 +369,7 @@ Test case: Fortville fdir for ipv6
> 
>     ipv6-tcp-vf1-drop::
> 
> -    testpmd> flow create 0 ingress pattern eth / vlan tci is 8 / ipv6 src is
> 2001::3 dst is 2001::4 tc is 8 hop is 80 / tcp src is 32 dst is 33 / vf id is 1 / end
> actions drop / end
> +    testpmd> flow create 0 ingress transfer pattern eth / vlan tci is 8 / ipv6 src
> is 2001::3 dst is 2001::4 tc is 8 hop is 80 / tcp src is 32 dst is 33 / vf id is 1 / end
> actions drop / end
> 
>  3. send packets::
> 
> @@ -438,7 +438,7 @@ Test case: Fortville fdir wrong parameters
> 
>     If create a rule on vf that has invalid queue ID::
> 
> -    testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is
> 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index 4 / end
> +    testpmd> flow create 0 ingress transfer pattern eth / ipv4 src is
> 192.168.0.1 dst is 192.168.0.2 proto is 3 / vf id is 0 / end actions queue index
> 4 / end
> 
>     it shows "Caught error type 11 (specific action): cause: 0x7ffc7bb9a338,
>     Invalid queue ID for FDIR".
> @@ -501,11 +501,11 @@ Test case: Fortville tunnel vxlan
> 
>     vni + inner mac + inner vlan + actions vf::
> 
> -    testpmd> flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 6 /
> eth dst is 00:11:22:33:44:55 / vlan tci is 30 / end actions vf id 0 / queue index
> 1 / end
> +    testpmd> flow create 0 ingress transfer pattern eth / ipv4 / udp / vxlan
> vni is 6 / eth dst is 00:11:22:33:44:55 / vlan tci is 30 / end actions vf id 0 /
> queue index 1 / end
> 
>     inner mac + outer mac + vni + actions vf::
> 
> -    testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:66 / ipv4 /
> udp / vxlan vni is 7 /  eth dst is 00:11:22:33:44:55 / end actions vf id 0 / queue
> index 3 / end
> +    testpmd> flow create 0 ingress transfer pattern eth dst is
> 00:11:22:33:44:66 / ipv4 / udp / vxlan vni is 7 /  eth dst is 00:11:22:33:44:55 /
> end actions vf id 0 / queue index 3 / end
> 
>  3. send packets::
> 
> @@ -610,11 +610,11 @@ Test case: Fortville tunnel nvgre
> 
>     tni + inner mac + inner vlan + actions vf::
> 
> -    testpmd> flow create 0 ingress pattern eth / ipv4 / nvgre tni is 0x112266 /
> eth dst is 00:11:22:33:44:55 / vlan tci is 60 / end actions vf id 0 / queue index
> 1 / end
> +    testpmd> flow create 0 ingress transfer pattern eth / ipv4 / nvgre tni is
> 0x112266 / eth dst is 00:11:22:33:44:55 / vlan tci is 60 / end actions vf id 0 /
> queue index 1 / end
> 
>     inner mac + outer mac + tni + actions vf::
> 
> -    testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:66 / ipv4 /
> nvgre tni is 0x112277 /  eth dst is 00:11:22:33:44:55 / end actions vf id 1 /
> queue index 3 / end
> +    testpmd> flow create 0 ingress transfer pattern eth dst is
> 00:11:22:33:44:66 / ipv4 / nvgre tni is 0x112277 /  eth dst is 00:11:22:33:44:55
> / end actions vf id 1 / queue index 3 / end
> 
>  3. send packets::
> 
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf
  2021-01-27  6:54 [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf Xia Yan
  2021-01-27  8:45 ` Lin, Xueqin
@ 2021-02-02  8:39 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-02-02  8:39 UTC (permalink / raw)
  To: Xia, YanX, dts; +Cc: Xia, YanX

>  add "transfer" in cmd for rule of vf
> 
> Signed-off-by: Xia Yan <yanx.xia@intel.com>

Applied with commit message changed. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-02  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27  6:54 [dts] [PATCH V1] test_plans/generic_flow_api_test_plan: modify cmd for rule of vf Xia Yan
2021-01-27  8:45 ` Lin, Xueqin
2021-02-02  8:39 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git