From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 46B88A0C47; Tue, 26 Oct 2021 07:25:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3750E410DA; Tue, 26 Oct 2021 07:25:15 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 61037410DA for ; Tue, 26 Oct 2021 07:25:13 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10148"; a="230101512" X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="230101512" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2021 22:25:13 -0700 X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="634992512" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2021 22:25:11 -0700 From: Yan Xia To: dts@dpdk.org Cc: Yan Xia Date: Tue, 26 Oct 2021 13:28:00 +0000 Message-Id: <20211026132801.74272-2-yanx.xia@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211026132801.74272-1-yanx.xia@intel.com> References: <20211026132801.74272-1-yanx.xia@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V2 1/2] test_plans/vf_daemon: delete test_mac_antispoof X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" comfirm with Tu,Lijuan and Lin,Xueqin, delete the case Signed-off-by: Yan Xia --- test_plans/vf_daemon_test_plan.rst | 39 ------------------------------ 1 file changed, 39 deletions(-) diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst index 2c131f58..07543c9d 100644 --- a/test_plans/vf_daemon_test_plan.rst +++ b/test_plans/vf_daemon_test_plan.rst @@ -182,45 +182,6 @@ Test Case 3: Set VLAN antispoof for VF from PF packet with matching vlan id -Test Case 4: Set mac antispoof for VF from PF -=============================================== -1. Add fake mac and use fake mac instead of transmitted mac in the - macswap mode, so default is non-matching SA:: - - .addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55} - - On VF0, add below two line code in file app/test-pmd/macswap_sse.h: - struct rte_ether_addr fake_mac = {.addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55},}; - rte_ether_addr_copy(&fake_mac, ð_hdr[0]->s_addr); - -2. Disable VF0 mac antispoof from PF:: - - testpmd> set vf mac antispoof 0 0 off - -3. Start testpmd on VF0, set it in macswap forwarding mode and enable - verbose output:: - - testpmd> set fwd macswap - -4. Send packet from tester to VF0 with correct SA, but code has changed - to use fake SA - -5. Stop VF0 testpmd and check VF0 can receive then transmit packet - -6. Enable VF0 mac antispoof from PF:: - - testpmd> set vf mac antispoof 0 0 on - -7. Start VF0 testpmd - -8. Send packet from tester to VF0 with correct SA, but code has changed - to use fake SA - -9. Stop VF0 testpmd and check VF0 can receive packet but can't transmit packet - -10. Recover original code - - Test Case 5: Set the MAC address for VF from PF =============================================== -- 2.33.1