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 6336CA0C43; Mon, 11 Oct 2021 04:57:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB7A4410E1; Mon, 11 Oct 2021 04:57:52 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 30A6C410DA; Mon, 11 Oct 2021 04:57:51 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10133"; a="226686557" X-IronPort-AV: E=Sophos;i="5.85,363,1624345200"; d="scan'208";a="226686557" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2021 19:57:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,363,1624345200"; d="scan'208";a="716234508" Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by fmsmga005.fm.intel.com with ESMTP; 10 Oct 2021 19:57:49 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 11 Oct 2021 03:57:47 +0100 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.012; Mon, 11 Oct 2021 10:57:44 +0800 From: "Zhang, Qi Z" To: "Yu, DapengX" , "Wu, Jingjing" , "Xing, Beilei" , "Richardson, Bruce" , "Ananyev, Konstantin" CC: "dev@dpdk.org" , "Yigit, Ferruh" , "stable@dpdk.org" Thread-Topic: [PATCH v3] net/iavf: fix multi-process shared data Thread-Index: AQHXvkP53zFjBzNc3EOZ2ZBiglTCNqvNGslQ Date: Mon, 11 Oct 2021 02:57:44 +0000 Message-ID: <88887a720fc244b5b03bb617b5aa5c5f@intel.com> References: <20211009032519.335016-1-dapengx.yu@intel.com> <20211011020131.204391-1-dapengx.yu@intel.com> In-Reply-To: <20211011020131.204391-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.6.200.16 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 v3] net/iavf: fix multi-process shared data 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: Monday, October 11, 2021 10:02 AM > To: Wu, Jingjing ; Xing, Beilei ; > Richardson, Bruce ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Zhang, Qi Z ; Yigit, Ferruh > ; Yu, DapengX ; > stable@dpdk.org > Subject: [PATCH v3] net/iavf: fix multi-process shared data >=20 > From: Dapeng Yu >=20 > When the iavf_adapter instance is not initialized completedly in the prim= ary > process, the secondary process accesses its "rte_eth_dev" > member, it causes secondary process crash. >=20 > This patch replaces eth_dev with eth_dev_data in iavf_adapter. >=20 > Fixes: f978c1c9b3b5 ("net/iavf: add RSS hash parsing in AVX path") > Fixes: 9c9aa0040344 ("net/iavf: add offload path for Rx AVX512 flex > descriptor") > Fixes: 63660ea3ee0b ("net/iavf: add RSS hash parsing in SSE path") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi