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 BFC0EA00C2; Wed, 4 Jan 2023 09:32:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB1A040A89; Wed, 4 Jan 2023 09:32:53 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 459A440697 for ; Wed, 4 Jan 2023 09:32:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672821170; x=1704357170; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GPOb0x+LrfKb5i+EFIT1aqbkxNGGtL/dIZzVpqD9ECM=; b=WiWE+Jd2coQdf4YVAuVBvvtGzD9eI228eodC0KUzSzRAWtW+0wUz49Mp 1g8tk7iI+1SMNVjsmP93Dg9OQrvOB58bnW8yZhSSlPGtTFLTG2p2Phjke ZGWTUnA6d7q20QxuGB7QVqkP8vojnQJzCCov0ygXLpEgda9a0eFawCdbx 7ftcx65KHZfjjejVqAwxGqTyjlRHJmJle006K2QvKXQnWUSA3XdwNnLKT 360atm3xeSgGFP/pMlCMrAsnEbrJz3lNy+4E04ddN8WHaqzq7Y8FKQw1v i+KdU5q6Qz39J276SCnv5lsOTsV6b1NaxlYfjakfID1FG+TgCrDf6pivk A==; X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="323877016" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="scan'208";a="323877016" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 00:32:49 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="685686464" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="scan'208";a="685686464" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 00:32:50 -0800 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1 1/2] test_plans/kernelpf_iavf: remove duplicate cases Date: Wed, 4 Jan 2023 16:32:37 +0800 Message-Id: <20230104083238.13296-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Case kernelpf_iavf/vf_mac_filter and vf_macfilter/kernel_2pf_2vf_1vm_mac_add_filter duplicate remove this test case from kernelpf_iavf. Signed-off-by: Weiyuan Li --- test_plans/kernelpf_iavf_test_plan.rst | 54 -------------------------- 1 file changed, 54 deletions(-) diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst index c26aebd4..7af79f1b 100644 --- a/test_plans/kernelpf_iavf_test_plan.rst +++ b/test_plans/kernelpf_iavf_test_plan.rst @@ -69,60 +69,6 @@ Set txonly forward, start testpmd Check tester could receive the packets from application generated - -Test case: VF MAC filter -======================== -Disable promisc mode, add a new MAC to VF0 and then start testpmd:: - - testpmd> set promisc all off - testpmd> mac_addr add 0 00:11:22:33:44:55 - testpmd> set fwd mac - testpmd> start - -Use scapy to send 100 random packets with current VF0's MAC, verify the -packets can be received and forwarded by the VF:: - - p=Ether(dst="00:01:23:45:67:89")/IP()/Raw(load='X'*30) - -Use scapy to send 100 random packets with new added VF0's MAC, verify the -packets can be received and forwarded by the VF:: - - p=Ether(dst="00:11:22:33:44:55")/IP()/Raw(load='X'*30) - -Use scapy to send 100 random packets with a wrong MAC to VF0, verify the -packets can't be received by the VF. - -Remove the MAC 00:11:22:33:44:55:: - - testpmd> mac_addr remove 0 00:11:22:33:44:55 - -Use scapy to send 100 random packets with removed VF0's MAC, verify the -packets can't be received and forwarded by the VF:: - - p=Ether(dst="00:11:22:33:44:55")/IP()/Raw(load='X'*30) - -Set the default mac address to other mac, check the mac address has be changed -to new set mac:: - - testpmd> mac_addr set 0 00:01:23:45:67:11 - testpmd> show port info 0 - -Use scapy to send 100 random packets with original VF0's MAC, verify the -packets can't be received and forwarded by the VF:: - - p=Ether(dst="00:01:23:45:67:89")/IP()/Raw(load='X'*30) - -Use scapy to send 100 random packets with new set VF0's MAC, verify the -packets can be received and forwarded by the VF:: - - p=Ether(dst="00:01:23:45:67:11")/IP()/Raw(load='X'*30) - -Reset to original mac address - -Note:: - Not set VF MAC from kernel PF for this case, if set, will print - "not permitted error" when add new MAC for VF. - Test case: VF promisc ===================== Enable kernel trust mode:: -- 2.27.0