From: "Huang, ZhiminX" <zhiminx.huang@intel.com>
To: "Li, HongboX" <hongbox.li@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Li, HongboX" <hongbox.li@intel.com>
Subject: RE: [dts][PATCH V1] test_plans/pmd_test_plan: supplement the test plan
Date: Tue, 6 Dec 2022 02:18:19 +0000 [thread overview]
Message-ID: <BN0PR11MB571232952035BDB6DDD5078CFD1B9@BN0PR11MB5712.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20221129015805.1051611-1-hongbox.li@intel.com>
> -----Original Message-----
> From: Hongbo Li <hongbox.li@intel.com>
> Sent: Tuesday, November 29, 2022 9:58 AM
> To: dts@dpdk.org
> Cc: Li, HongboX <hongbox.li@intel.com>
> Subject: [dts][PATCH V1] test_plans/pmd_test_plan: supplement the test plan
>
> the case of pmd/checksum_checking only cover in testcase not in test plan. so
> supplement the test plan.
>
> Signed-off-by: Hongbo Li <hongbox.li@intel.com>
> ---
> test_plans/pmd_test_plan.rst | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/test_plans/pmd_test_plan.rst b/test_plans/pmd_test_plan.rst index
> c371edb1..c1760c97 100644
> --- a/test_plans/pmd_test_plan.rst
> +++ b/test_plans/pmd_test_plan.rst
> @@ -73,6 +73,24 @@ Test Case: Packet Checking
> which will be forwarded by the DUT. The test checks if the packets are
> correctly forwarded and
> if both RX and TX packet sizes match by `show port all stats`
>
> +Test Case: Checksum checking
> +============================
> +
> +1. Start testpmd with rxfreet=0 and set forward mode to csum::
> +
> + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a
> 0000:18:00.0 -a 0000:1b:00.0 --file-prefix=dpdk_2179994_20221121150432
> -- -i --portmask=0x3 --enable-rx-cksum --disable-rss --rxd=1024 --txd=1024
> --rxfreet=0
> + testpmd> set fwd csum
> + testpmd> start
> +
> +2. The tester sends 4 messages with error checksum, and check whether the
> message is correctly forwarded by DUT::
> +
> + sendp([Ether(dst=00:11:22:33:44:55,
> + src="52:00:00:00:00:00")/IP(len=46)/UDP(chksum=0x1)/Raw(load="P"*18)],
> + iface="ens9", count=4)
> +
> +3. Stop testpmd and check whether the l4 checksum error reported by the Rx
> port is equal to 4.
Could you add the expected results at step 3?
> +
> +4. change the value of "rxfreet"(0, 8, 16, 32, 64, 128), and start testpmd,
> repeat step 1-3, check the result is same.
> +
> +
> Test Case: Packet Checking in scalar mode
> =========================================
>
> --
> 2.25.1
next prev parent reply other threads:[~2022-12-06 2:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-29 1:58 Hongbo Li
2022-12-06 2:18 ` Huang, ZhiminX [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-29 1:14 Hongbo Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BN0PR11MB571232952035BDB6DDD5078CFD1B9@BN0PR11MB5712.namprd11.prod.outlook.com \
--to=zhiminx.huang@intel.com \
--cc=dts@dpdk.org \
--cc=hongbox.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).