From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0D5CCA00C5; Sun, 26 Apr 2020 11:52:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 049D41BFEB; Sun, 26 Apr 2020 11:52:47 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 705081BF9E for ; Sun, 26 Apr 2020 11:52:45 +0200 (CEST) IronPort-SDR: dcxvl3YNvnMcpvH+bM1qgB31ORy+BjVIneduIqzwhNiXULaP8ENoPDdV6l+m0PykZROuQGg/cG Ro9OeQUbo3+Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2020 02:52:44 -0700 IronPort-SDR: zkrD2U1OJOqIow77PwH8GO+mf11uS1lSGYeHuOwWjUSTmd2zHg5twd7UGWpubTiQbfLPnq4AN9 5yM4DXLmFILQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,319,1583222400"; d="scan'208";a="256921986" Received: from unknown (HELO dpdk-test60-xueqin.sh.intel.com) ([10.67.117.106]) by orsmga003.jf.intel.com with ESMTP; 26 Apr 2020 02:52:43 -0700 From: Xueqin Lin To: dts@dpdk.org Cc: Xueqin Lin Date: Sat, 25 Apr 2020 23:54:09 -0400 Message-Id: <1587873249-163962-1-git-send-email-xueqin.lin@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dts] [PATCH] test_plan/shutdown_api: add allmulticast mode test plan X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Xueqin Lin --- 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