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 F157EA0540; Wed, 6 Jul 2022 04:38:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E708740DF7; Wed, 6 Jul 2022 04:38:20 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 0650D4282E for ; Wed, 6 Jul 2022 04:38:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657075099; x=1688611099; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xLcE8OyGk1Yy7KkPfkePbtZCDP2XksSi5vvU99+ahGI=; b=e54rsMN789oLmaaT1hf7P5hGHKXL+QTygZVD3c6gJGdB2pY0XOljGdKB 0viZICX2K5y/ZEwnCyzR0XVxQmp7gK3zflFDmLB/h8WrFEvEZq+wnhOMi 0PsnbrKBy2yMGM3Chk2dPgug+gKlTKVXF+6MTY+A1Vc/1sL72ev8P/N+7 1Da7xKtC4FyZYVmV/CGMR2ClZbhnKdYyPREiaWwfTPjV038bWaaVis3Gx Mcddilf2QP3/c1EnxefG5QOlvXnO3NYohcPvJ0wmsbLD6Wjp3o7wE2doz uXzK9Q3QAqhI+eMbCLF7/up4/yB2bcxTGQhq/dwXPcyfUWNHXW4h8ww5G w==; X-IronPort-AV: E=McAfee;i="6400,9594,10399"; a="369941351" X-IronPort-AV: E=Sophos;i="5.92,248,1650956400"; d="scan'208";a="369941351" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 19:38:18 -0700 X-IronPort-AV: E=Sophos;i="5.92,248,1650956400"; d="scan'208";a="625684847" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 19:38:17 -0700 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V2 4/4] test_plans/vf_vlan: update dts code for driver change Date: Wed, 6 Jul 2022 10:38:06 +0800 Message-Id: <20220706023806.27825-4-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220706023806.27825-1-weiyuanx.li@intel.com> References: <20220706023806.27825-1-weiyuanx.li@intel.com> 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 The out-tree driver has vf-vlan-pruning option,but in-tree driver has not. So we need different action to enable vlan filter when we validate the vlan filter function with in-tree and out-tree kernel drvier. Signed-off-by: Weiyuan Li --- v2: -fix format issue test_plans/vf_vlan_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/vf_vlan_test_plan.rst b/test_plans/vf_vlan_test_plan.rst index c183b3d6..a3d8df6b 100644 --- a/test_plans/vf_vlan_test_plan.rst +++ b/test_plans/vf_vlan_test_plan.rst @@ -21,6 +21,10 @@ Prerequisites 0000:87:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e unused= 0000:87:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e unused= + If the driver is out tree enable pf vf-vlan-pruning flags: + ethtool --set-priv-flags ens259f0 vf-vlan-pruning on + ethtool --set-priv-flags ens259f1 vf-vlan-pruning on + echo 1 > /sys/bus/pci/devices/0000\:87\:00.0/sriov_numvfs echo 1 > /sys/bus/pci/devices/0000\:87\:00.1/sriov_numvfs -- 2.27.0