From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C4E2CA052A; Wed, 11 Nov 2020 03:46:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7FD49F90; Wed, 11 Nov 2020 03:46:00 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 4283CF64 for ; Wed, 11 Nov 2020 03:45:57 +0100 (CET) IronPort-SDR: CoBrJhlR4X2JnX0im6SORm4TAn9o1iSPbF1AjydVQyRmmNGj8IVM9VkatmqD/02V9uGKq2zvJ2 5W+btEKPLx1g== X-IronPort-AV: E=McAfee;i="6000,8403,9801"; a="157092699" X-IronPort-AV: E=Sophos;i="5.77,468,1596524400"; d="scan'208";a="157092699" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2020 18:45:55 -0800 IronPort-SDR: Bt8kECC+he4hl9EhSfnYTz2RlvFtxsNl2TGm2BPQL3IrCAIQxIOXc0i+1tCXsaDm693WZ3cTEv xMQ8Q6sqVgTg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,468,1596524400"; d="scan'208";a="308295222" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP; 10 Nov 2020 18:45:55 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 10 Nov 2020 18:45:54 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 11 Nov 2020 10:45:53 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Wed, 11 Nov 2020 10:45:52 +0800 From: "Tu, Lijuan" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [PATCH V2 1/2] tests/TestSuite_vf_vlan:modify script to fit new I40E driver Thread-Index: AQHWsb1VHvRKOej/50KF7o7I/utxX6nCRSdA Date: Wed, 11 Nov 2020 02:45:52 +0000 Message-ID: References: <20201103084447.20112-1-weix.xie@intel.com> In-Reply-To: <20201103084447.20112-1-weix.xie@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2 1/2] tests/TestSuite_vf_vlan:modify script to fit new I40E driver X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" > Update i40e driver to 2.13.10, > vf_vlan_rx: while vlan set filter on, the pkts with random vlan id 1-4095= shall not > be received. > add_pvid_vf: while ip link set pf_intf vf 0 vlan 0, the pkts with random = vlan id 1- > 4095 shall not be received. >=20 > Signed-off-by: Xie wei Snice VF behavior is based on PF driver, so get driver version first, then = check VF behavior. As far as I understand, if i40e driver is lower than 2.13.10, the result wi= ll be failed, even if it is an expected behavior.