From patchwork Fri Feb 11 02:28:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 107331 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D2803A00C2; Fri, 11 Feb 2022 03:40:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDA60410E5; Fri, 11 Feb 2022 03:40:17 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6C29840DF5 for ; Fri, 11 Feb 2022 03:40:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644547216; x=1676083216; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7niQeW9pHknYcLXxDjAPEKX7VacUe0Ij6rtDN3khMGU=; b=SyZd0vt5+hF0JSYfEsOsjF8j6kAia/c/HX9sjt3Tf6yUG5tOy+OAec49 fQAIsn7otefibOBllUKgg0XcuGc1KN3zYX/op05zzcazhBOCKzyxFfjky fyp3+6QGGLNYUoQVle5Z8NMOuHpFwIJrfQ4WyYwAR0l+GJ/Y7/+5DFO+0 xQeJc+6sMRpQr8nB+859AY0DlEczM2O30QdeFOd2NZlLRAn9ic0bDcBt2 PU55M4dc/7G18ceRb8ygccpn0fiMLgCwkzOnrzY9cTNDRZQCz1yW0pgxm tpARP3ElZjIj++pClH51H8kzGXhC5thh3+s9vUWUw55lqpFGJqZIhsWET w==; X-IronPort-AV: E=McAfee;i="6200,9189,10254"; a="274199388" X-IronPort-AV: E=Sophos;i="5.88,359,1635231600"; d="scan'208";a="274199388" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 18:40:16 -0800 X-IronPort-AV: E=Sophos;i="5.88,359,1635231600"; d="scan'208";a="541909216" Received: from unknown (HELO localhost.localdomain) ([10.239.251.41]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 18:40:14 -0800 From: Weiyuan Li To: dts@dpdk.org, lijuan.tu@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 2/2] test_plans/userspace_ethtool: remove duplicate vlan test case. Date: Fri, 11 Feb 2022 10:28:13 +0800 Message-Id: <20220211022813.2144206-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220211022813.2144206-1-weiyuanx.li@intel.com> References: <20220211022813.2144206-1-weiyuanx.li@intel.com> MIME-Version: 1.0 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 Sync remove duplicate test plans. Signed-off-by: Weiyuan Li --- test_plans/userspace_ethtool_test_plan.rst | 35 ---------------------- 1 file changed, 35 deletions(-) diff --git a/test_plans/userspace_ethtool_test_plan.rst b/test_plans/userspace_ethtool_test_plan.rst index 790e25e8..ab3fbc8f 100644 --- a/test_plans/userspace_ethtool_test_plan.rst +++ b/test_plans/userspace_ethtool_test_plan.rst @@ -159,41 +159,6 @@ send packet by scapy on Tester:: check tx/rx packets EthApp> portstats 0 -Test Case: Vlan test -==================== - -enable vlan filter flag in main.c of dpdk's ethtool:: - - sed -i -e '/cfg_port.txmode.mq_mode = ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;' examples/ethtool/ethtool-app/main.c - -re-compile examples/ethtool:: - - meson configure -Dexamples=ethtool x86_64-native-linuxapp-gcc - ninja -C x86_64-native-linuxapp-gcc - -Add vlan 0 to port 0 and vlan 1 to port1, send packet without vlan to port0,1 -Verify port0 and port1 received vlan packets:: - - EthApp> vlan 0 add 0 - VLAN vid 0 added - - EthApp> vlan 1 add 1 - VLAN vid 1 added - -Send packet with vlan0,1 to port0&1. Verify port0 and port1 received vlan -packets - -Send packet with vlan1,0 to port0&1. Verify port0 and port1 can not receive -vlan packets - -Remove vlan 0,1 from port0&1, send packet with vlan0,1 to port0,1. Verify -port0 and port1 can not receive vlan packet:: - - EthApp> vlan 0 del 0 - VLAN vid 0 removed - EthApp> vlan 1 del 1 - VLAN vid 1 removed - Test Case: Mac address test =========================== Use "macaddr" command to dump port mac address and then check that dumped