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 0DBE4A0A0C for ; Thu, 3 Jun 2021 12:21:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEBF7410E5; Thu, 3 Jun 2021 12:21:06 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id A2CE640DF6; Thu, 3 Jun 2021 12:21:04 +0200 (CEST) IronPort-SDR: Cd/ja5sh9CJvrNU6w18DBnPGgrCS2uyxOknqClfUG6Pd7BKODYRlGXzI8aTRGhqLBlQNTvibEB o/qd79oqMubg== X-IronPort-AV: E=McAfee;i="6200,9189,10003"; a="289642254" X-IronPort-AV: E=Sophos;i="5.83,244,1616482800"; d="scan'208";a="289642254" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2021 03:20:49 -0700 IronPort-SDR: vn4NIu/5o9RceVuFs/1eo+eO6jAn8qjYRIP1Emmqn+FcNrj76BVun6f4lKTaLVtDFBbKePHZOJ HXgcGi26w3Mg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,244,1616482800"; d="scan'208";a="438799540" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga007.jf.intel.com with ESMTP; 03 Jun 2021 03:20:48 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 3 Jun 2021 03:20:47 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 3 Jun 2021 18:20:45 +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.2242.008; Thu, 3 Jun 2021 18:20:45 +0800 From: "Zhang, Qi Z" To: "Wang, Yixue" , "Yang, Qiming" CC: "Zhang, Liheng" , "Dong, Yao" , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/ice: fix wrong data path selection in secondary process Thread-Index: AQHXUHvX+ji3m3rzK0+3TMUrWfW+WasBmFWAgACKTuA= Date: Thu, 3 Jun 2021 10:20:45 +0000 Message-ID: <8297b7a87913490f894ee38bdb22a1e2@intel.com> References: <20210524090759.980530-1-qi.z.zhang@intel.com> In-Reply-To: Accept-Language: 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: [dpdk-stable] [PATCH] net/ice: fix wrong data path selection in secondary process X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: Wang, Yixue > Sent: Thursday, June 3, 2021 6:04 PM > To: Zhang, Qi Z ; Yang, Qiming > > Cc: Zhang, Liheng ; Dong, Yao > ; dev@dpdk.org; stable@dpdk.org > Subject: RE: [PATCH] net/ice: fix wrong data path selection in secondary > process >=20 > Hi, Qi >=20 > I've tested this patch and it works. >=20 > Best Regards, > Yixue. >=20 > > -----Original Message----- > > From: Zhang, Qi Z > > Sent: Monday, May 24, 2021 17:08 > > To: Yang, Qiming > > Cc: Zhang, Liheng ; Wang, Yixue > > ; Dong, Yao ; dev@dpdk.org; > > Zhang, Qi Z ; stable@dpdk.org > > Subject: [PATCH] net/ice: fix wrong data path selection in secondary > > process > > > > The flag use_avx2 and use_avx512 are defined as local variables, they > > will not be aware by the secondary process, then wrong data path is > > selected. Fix the issue by moving them into struct ice_adapter. > > > > Fixes: ae60d3c9b227 ("net/ice: support Rx AVX2 vector") > > Fixes: 2d5f6953d56d ("net/ice: support vector AVX2 in Tx") > > Fixes: 7f85d5ebcfe1 ("net/ice: add AVX512 vector path") > > Cc: stable@dpdk.org > > > > Reported-by: Yixue Wang > > Signed-off-by: Qi Zhang Tested-by: Yixue Wang Applied to dpdk-next-net-intel. Thanks Qi