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 643CEA0547; Mon, 21 Jun 2021 05:01:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6FD040040; Mon, 21 Jun 2021 05:01:57 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 76A9E4003F; Mon, 21 Jun 2021 05:01:56 +0200 (CEST) IronPort-SDR: tIZ6y9pOjqiEivlaWifLJhYL81SAspUV9A1SwbW998kEkE4OV7teLauJ8eqM9JCzbizzoj8U5+ Sp1VYqFGWTHw== X-IronPort-AV: E=McAfee;i="6200,9189,10021"; a="194077961" X-IronPort-AV: E=Sophos;i="5.83,288,1616482800"; d="scan'208";a="194077961" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2021 20:01:55 -0700 IronPort-SDR: zAn4opxcxkMaGDVsTqiWzHYh2gkq3c2iC+Gj0KA8qgiazDcziKNTVyzfmzMcZenmL7JOhnEAVV Y2bnLcdhGYEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,288,1616482800"; d="scan'208";a="452035418" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga008.jf.intel.com with ESMTP; 20 Jun 2021 20:01:54 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Sun, 20 Jun 2021 20:01:53 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 21 Jun 2021 11:01:51 +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; Mon, 21 Jun 2021 11:01:51 +0800 From: "Zhang, Qi Z" To: "Yu, DapengX" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix wrong data path selection in secondary process Thread-Index: AQHXXP3Pk/LRl7NZpEGbYXtiki4bCqsd2W9A Date: Mon, 21 Jun 2021 03:01:51 +0000 Message-ID: <44c3729afc9c40c3bc9e39e80167a6cc@intel.com> References: <20210609070508.2714578-1-dapengx.yu@intel.com> In-Reply-To: <20210609070508.2714578-1-dapengx.yu@intel.com> 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-dev] [PATCH] net/i40e: fix wrong data path selection in secondary process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Yu, DapengX > Sent: Wednesday, June 9, 2021 3:05 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; Yu, DapengX > ; stable@dpdk.org > Subject: [PATCH] net/i40e: fix wrong data path selection in secondary pro= cess >=20 > From: Dapeng Yu >=20 > The flag use_avx2 and use_avx512 are defined as local variables, they wil= l not > be aware by the secondary process, then wrong data path is selected. Fix = the > issue by moving them into struct i40e_adapter. >=20 > Fixes: 6ada10deac66 ("net/i40e: remove devarg use-latest-supported-vec") > Fixes: e6a6a138919f ("net/i40e: add AVX512 vector path") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi