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 7FE23A0032; 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 1E0E741156; 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 A1E104021E 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=1657524172; x=1689060172; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=My1OGrJmHxvyHJXcfbVKkt1dTeFrDws0TqVZ+jZJZHQ=; b=U/KWqYUK1B9mZU7u1L0ZjSIEYJmmQS+JbwcnZhQ8qpC89k+VVWuK0izz kZgxArYK1fPYiyuQM2PyZSUOq0KqEBpd0wLSRtpDYKnPyez4RWN0G40TE +/VbqswWfKoefznLmBXcLy7qJ+w8S0pKsVpQBwCs/nGBppO9Cnvvyc+MP SUDZhaugWTVfAP7gZi1sbYk4ZBeFbzXxzzoLlMPLDwZiwk0+V5XnTTsHh gCN50hM1Q0KYbR1qAXcgWCE5w9DugKZLjKfLy0kBaf4JCaIpk393D+I4h LI7rLdb/g8oc45/RvQcduOmpj/pd3PDS3uNUKqvk8THTD424SOsyMT8Zr Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10404"; a="285723946" X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="285723946" 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:45 -0700 X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="652346734" 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:43 -0700 From: Weiyuan Li To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V3 3/4] test_plans/kernelpf_iavf: update dts code for driver change Date: Mon, 11 Jul 2022 15:22:33 +0800 Message-Id: <20220711072234.852-3-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/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..77c1241d 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 drive support vf-vlan-pruning flag:: + 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 -- 2.27.0