test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xueqin Lin <xueqin.lin@intel.com>
To: dts@dpdk.org
Cc: Xueqin Lin <xueqin.lin@intel.com>
Subject: [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test plan
Date: Sat, 25 Apr 2020 23:54:09 -0400	[thread overview]
Message-ID: <1587873249-163962-1-git-send-email-xueqin.lin@intel.com> (raw)

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

---
 test_plans/shutdown_api_test_plan.rst | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/test_plans/shutdown_api_test_plan.rst b/test_plans/shutdown_api_test_plan.rst
index c2dd415..83a495a 100644
--- a/test_plans/shutdown_api_test_plan.rst
+++ b/test_plans/shutdown_api_test_plan.rst
@@ -114,6 +114,30 @@ Test Case: Set promiscuous mode
    and receive packets, and check that testpmd is able to receive and forward packets
    successfully.
 
+Test Case: Set allmulticast mode
+--------------------------------
+
+1. If the testpmd application is not launched, run it as above command. Follow
+   below steps to check if allmulticast mode setting works well after reconfiguring
+   it while all ports are stopped.
+2. Run ``set promisc all off`` to disable promiscuous mode on all ports.
+3. Run ``set allmulti all off`` to disable allmulticast mode on all ports.
+4. Run ``start`` again to restart the forwarding.
+5. Send packets with dst same to port address.
+6. Check that testpmd is able to receive and forward packets successfully.
+7. Send packets with unicast dst not same to port address.
+8. Check that testpmd is NOT able to receive and forward packets successfully.
+9. Send packets with multicast dst ``01:00:00:33:00:01`` packets.
+10. Check that testpmd is NOT able to receive and forward packets successfully.
+11. Run ``set allmulti all on`` to enable allmulticast mode on all ports.
+12. Send packets with multicast dst ``01:00:00:33:00:01`` packets.
+13. Check that testpmd is able to receive and forward packets successfully.
+14. Send packets with unicast dst not same to port address.
+15. Check that testpmd is NOT able to receive and forward packets successfully.
+16. Run ``set promisc all on`` to enable promiscuous mode on all ports.
+17. Send packets with unicast dst not same to port address.
+18. Check that testpmd is able to receive and forward packets successfully.
+
 Test Case: Reconfigure All Ports With The Same Configurations (CRC)
 -------------------------------------------------------------------
 
-- 
2.7.5


             reply	other threads:[~2020-04-26  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26  3:54 Xueqin Lin [this message]
2020-04-27  7:51 ` Tu, Lijuan

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=1587873249-163962-1-git-send-email-xueqin.lin@intel.com \
    --to=xueqin.lin@intel.com \
    --cc=dts@dpdk.org \
    /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).