From patchwork Tue Jul 5 07:18:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 113669 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 086CDA0543; Tue, 5 Jul 2022 09:18:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91729410E5; Tue, 5 Jul 2022 09:18:44 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 596E8400D7 for ; Tue, 5 Jul 2022 09:18:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657005523; x=1688541523; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CV9CmP/oakkOaI0ZIgUjKFptHCKRHbisMYvQrTaqpNw=; b=HrGUnlaUa4iGevwNYrSLPGPwNJ2upuamzA2DcctSJCB5mOCIjwaW6gcV MwBfS/Sd81xtW6o4bE5BIpbt0eNBUhwNtfZvmODolO6kpOGKtJbLfbxt1 nVlN+n/+M3Hp1AQMPcQIAktbOX+bZw8C8CNzM26EEfxvUS7IFJ1hOL8Ld AEgc0/A0fOMFg0ZTDxIPgLvfa1vXr2LHC2yAprf8VyJMIi7iEQ0laDjvX JafT316mSg0QL8tihzv5I6X8fbYk9xlkQjELh2lUmAEKrNqU1UwBO4S1S 9IVtEuwS0e/0A8bmjFMlXrN8+OeWfq/eMP4meg5pA/dmVjrax93iVSPtY Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10398"; a="308814502" X-IronPort-AV: E=Sophos;i="5.92,245,1650956400"; d="scan'208";a="308814502" 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:42 -0700 X-IronPort-AV: E=Sophos;i="5.92,245,1650956400"; d="scan'208";a="625346207" 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:41 -0700 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1 2/4] test_plans/kernelpf_iavf: update dts code for driver change Date: Tue, 5 Jul 2022 15:18:33 +0800 Message-Id: <20220705071835.17187-2-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 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/kernelpf_iavf_test_plan.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst index 8c7d1ad5..f044e3cc 100644 --- a/test_plans/kernelpf_iavf_test_plan.rst +++ b/test_plans/kernelpf_iavf_test_plan.rst @@ -28,6 +28,9 @@ Get the pci device id of DUT, for example:: 0000:18:00.0 'Device 1592' if=enp24s0f0 drv=ice unused=igb_uio 0000:18:00.1 'Device 1592' if=enp24s0f1 drv=ice unused=igb_uio +If the driver is out tree enable pf vf-vlan-pruning flags:: + ethtool --set-priv-flags $PF_INTF vf-vlan-pruning on + Create 1 VF from 1 kernel PF:: echo 1 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_numvfs