test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test for ixgbe
@ 2020-02-13 10:30 Jiaqi Min
  2020-02-27  3:20 ` He, Zhiwei
  2020-02-28  1:08 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Jiaqi Min @ 2020-02-13 10:30 UTC (permalink / raw)
  To: dts; +Cc: Jiaqi Min

add ixgbe vf jumbo frame test case

Signed-off-by: Jiaqi Min <jiaqix.min@intel.com>
---
 test_plans/vf_daemon_test_plan.rst | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst
index 882e811..9a790c1 100644
--- a/test_plans/vf_daemon_test_plan.rst
+++ b/test_plans/vf_daemon_test_plan.rst
@@ -474,3 +474,28 @@ Test Case 14: Set Vlan filter for VF from PF
    VF0 can receive packet
 
 9. Send packet without vlan id to random MAC, check VF0 can receive packet
+
+Test Case 15: Ixgbe vf jumbo frame test
+=======================================
+1. Default mtu size is 1500, send one packet with length bigger than default
+   mtu size to VF0, such as 2000 from tester, check VF0 can't receive packet
+
+2. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu::
+
+      testpmd> port stop all
+      testpmd> port config mtu 0 3000
+      testpmd> port start all
+      testpmd> start
+
+3. Send one packet with length 2000 from tester to VF0, check VF0 can receive packet
+
+4. Send one packet with length bigger than configured mtu size to VF0,such as 4000
+   from tester, check VF0 can't receive packet
+
+5. Quit VF0 testpmd, restart VF0 testpmd, send one packet with length 2000 from
+   tester to VF0, check VF0 can receive packet
+
+6. send one packet with length bigger than configured mtu size to VF0, such as
+   5000 from tester, check VF0 can't receive packet
+
+notes: only x550 and x540 support jumbo frames.
-- 
2.17.1


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

* Re: [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test for ixgbe
  2020-02-13 10:30 [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test for ixgbe Jiaqi Min
@ 2020-02-27  3:20 ` He, Zhiwei
  2020-02-28  1:08 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: He, Zhiwei @ 2020-02-27  3:20 UTC (permalink / raw)
  To: Min, JiaqiX, dts; +Cc: Min, JiaqiX, He, Zhiwei

Acked by Zhiwei.he <zhiwei.he@intel.com>

Thanks!

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiaqi Min
> Sent: Thursday, February 13, 2020 6:31 PM
> To: dts@dpdk.org
> Cc: Min, JiaqiX <jiaqix.min@intel.com>
> Subject: [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test
> for ixgbe
> 
> add ixgbe vf jumbo frame test case
> 
> Signed-off-by: Jiaqi Min <jiaqix.min@intel.com>
> ---
>  test_plans/vf_daemon_test_plan.rst | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/test_plans/vf_daemon_test_plan.rst
> b/test_plans/vf_daemon_test_plan.rst
> index 882e811..9a790c1 100644
> --- a/test_plans/vf_daemon_test_plan.rst
> +++ b/test_plans/vf_daemon_test_plan.rst
> @@ -474,3 +474,28 @@ Test Case 14: Set Vlan filter for VF from PF
>     VF0 can receive packet
> 
>  9. Send packet without vlan id to random MAC, check VF0 can receive packet
> +
> +Test Case 15: Ixgbe vf jumbo frame test
> +=======================================
> +1. Default mtu size is 1500, send one packet with length bigger than default
> +   mtu size to VF0, such as 2000 from tester, check VF0 can't receive
> +packet
> +
> +2. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu::
> +
> +      testpmd> port stop all
> +      testpmd> port config mtu 0 3000
> +      testpmd> port start all
> +      testpmd> start
> +
> +3. Send one packet with length 2000 from tester to VF0, check VF0 can
> +receive packet
> +
> +4. Send one packet with length bigger than configured mtu size to VF0,such
> as 4000
> +   from tester, check VF0 can't receive packet
> +
> +5. Quit VF0 testpmd, restart VF0 testpmd, send one packet with length 2000
> from
> +   tester to VF0, check VF0 can receive packet
> +
> +6. send one packet with length bigger than configured mtu size to VF0, such
> as
> +   5000 from tester, check VF0 can't receive packet
> +
> +notes: only x550 and x540 support jumbo frames.
> --
> 2.17.1


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

* Re: [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test for ixgbe
  2020-02-13 10:30 [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test for ixgbe Jiaqi Min
  2020-02-27  3:20 ` He, Zhiwei
@ 2020-02-28  1:08 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-02-28  1:08 UTC (permalink / raw)
  To: Min, JiaqiX, dts; +Cc: Min, JiaqiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiaqi Min
> Sent: Thursday, February 13, 2020 6:31 PM
> To: dts@dpdk.org
> Cc: Min, JiaqiX <jiaqix.min@intel.com>
> Subject: [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test for
> ixgbe
> 
> add ixgbe vf jumbo frame test case
> 
> Signed-off-by: Jiaqi Min <jiaqix.min@intel.com>
> ---
>  test_plans/vf_daemon_test_plan.rst | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/test_plans/vf_daemon_test_plan.rst
> b/test_plans/vf_daemon_test_plan.rst
> index 882e811..9a790c1 100644
> --- a/test_plans/vf_daemon_test_plan.rst
> +++ b/test_plans/vf_daemon_test_plan.rst
> @@ -474,3 +474,28 @@ Test Case 14: Set Vlan filter for VF from PF
>     VF0 can receive packet
> 
>  9. Send packet without vlan id to random MAC, check VF0 can receive packet
> +
> +Test Case 15: Ixgbe vf jumbo frame test
> +=======================================
> +1. Default mtu size is 1500, send one packet with length bigger than default
> +   mtu size to VF0, such as 2000 from tester, check VF0 can't receive
> +packet
> +
> +2. Set VF0 mtu size as 3000, but need to stop then restart port to active mtu::
> +
> +      testpmd> port stop all
> +      testpmd> port config mtu 0 3000
> +      testpmd> port start all
> +      testpmd> start
> +
> +3. Send one packet with length 2000 from tester to VF0, check VF0 can
> +receive packet
> +
> +4. Send one packet with length bigger than configured mtu size to VF0,such
> as 4000
> +   from tester, check VF0 can't receive packet
> +
> +5. Quit VF0 testpmd, restart VF0 testpmd, send one packet with length 2000
> from
> +   tester to VF0, check VF0 can receive packet
> +
> +6. send one packet with length bigger than configured mtu size to VF0, such
> as
> +   5000 from tester, check VF0 can't receive packet
> +
> +notes: only x550 and x540 support jumbo frames.
> --
> 2.17.1


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 10:30 [dts] [PATCH v1] test_plans/vf_daemon: add vf jumbo frame test for ixgbe Jiaqi Min
2020-02-27  3:20 ` He, Zhiwei
2020-02-28  1:08 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	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


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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