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 E07BAA0543; Tue, 5 Jul 2022 09:18:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D897540E50; Tue, 5 Jul 2022 09:18:47 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 585B7400D7 for ; Tue, 5 Jul 2022 09:18:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657005526; x=1688541526; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SS1MgMYo9kgxmBliHnEgJrTGrAnaypTMAORqS0sSc0M=; b=L6pdDfqrrRZrCo6uTOFIqxrl3q6/76LQDRXXTRMjpnNV6KK2FCymf3W+ k1s2R/XfJCK0i3X7l5ZAgn1F6Vb2YfYmd/bqgc6cjuYLCdxJvxWPjIYd4 ht1Zmzi4g1B3GLdsqAZbXW9QX4scXqufVoYPBgaqncnquGD5dGhyPY9xM 4oaoomhnOhbQ3/uvsWAM5ebyZry7kjyjTemXv0msQLdWS6aNg+LdBd5x4 IGpwoAMMcrrqMaKGGTTC97tcwlNtAzFgkCcGpQkLSskUgCqQhPrzfZW7O g/4PI4pUDj/eDoCbchnO3+9ahsMI71LMfDtPkq1I23wilc+o4a6QehRHk w==; X-IronPort-AV: E=McAfee;i="6400,9594,10398"; a="308814518" X-IronPort-AV: E=Sophos;i="5.92,245,1650956400"; d="scan'208";a="308814518" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 00:18:45 -0700 X-IronPort-AV: E=Sophos;i="5.92,245,1650956400"; d="scan'208";a="625346216" 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 00:18:44 -0700 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 4/4] test_plans/vf_vlan: update dts code for driver change Date: Tue, 5 Jul 2022 15:18:35 +0800 Message-Id: <20220705071835.17187-4-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220705071835.17187-1-weiyuanx.li@intel.com> References: <20220705071835.17187-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 --- 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