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 D1444A00C5; Mon, 11 Jul 2022 09:22:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A9744280C; Mon, 11 Jul 2022 09:22:54 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id BEF974021F for ; Mon, 11 Jul 2022 09:22:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657524173; x=1689060173; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8pxefHeQtfDOs1rla8qQnB6fVnZb/oeFNsPctSiYBdM=; b=SIitLmN6VhnBw6RasNtOX+2z51jiM8hOIHmc40reweU6xGJwUZd44Ct6 anP5GKyuatrkqbXlv1JoAGznGK1kcX97Ai+i2pVYGE3W9aAcw4oSLyD8e 8xMZExEu3/c+4seFCDTt1hxK3S10LCZGEJu6KA/UiUOcokx8Z26vuNaG7 jS/iSNBkxUAW8pMpFtSwRohMEtGt3gGZUT9X73whU/2YuW81B5pqu3TsW IzJRSy8caQ2bf0aCYENWktUpn9+Gj+efyaSdVxhI4tv3wT7DshCK0UtoB hO2SqEMLPNUz45d+IQXaJRpvyXKeyDCZtYbDXej/CzAN1tVz2g0TMSgXl Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10404"; a="285723951" X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="285723951" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2022 00:22:46 -0700 X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="652346741" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2022 00:22:45 -0700 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V3 4/4] test_plans/vf_vlan: update dts code for driver change Date: Mon, 11 Jul 2022 15:22:34 +0800 Message-Id: <20220711072234.852-4-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220711072234.852-1-weiyuanx.li@intel.com> References: <20220711072234.852-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 v3: -modify the code to check whether vf-vlan-pruning option exists. -modify the description of the test plan about vf-vlan-pruning. 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..2c38d4dd 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 drive support vf-vlan-pruning flag: + 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