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 64494A0C45 for ; Wed, 27 Oct 2021 05:28:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 583F6410FC; Wed, 27 Oct 2021 05:28:45 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 3F79E40E0F; Wed, 27 Oct 2021 05:28:42 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10149"; a="228818602" X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="228818602" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2021 20:28:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="723005542" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga006.fm.intel.com with ESMTP; 26 Oct 2021 20:28:41 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 26 Oct 2021 20:28:40 -0700 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.2242.12; Wed, 27 Oct 2021 11:28:38 +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.012; Wed, 27 Oct 2021 11:28:38 +0800 From: "Zhang, Qi Z" To: "Yu, DapengX" , "Yang, Qiming" CC: "dev@dpdk.org" , "Wang, Haiyue" , "stable@dpdk.org" Thread-Topic: [PATCH v5] net/ice: fix function pointer in multi-process Thread-Index: AQHXygyhqirKa/1aYE231SjyBS+6VavmMTRQ Date: Wed, 27 Oct 2021 03:28:38 +0000 Message-ID: <32fc5d6c6b6c40aaa04320307672c878@intel.com> References: <20211025054029.1140977-1-dapengx.yu@intel.com> <20211026015542.1416819-1-dapengx.yu@intel.com> In-Reply-To: <20211026015542.1416819-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-stable] [PATCH v5] net/ice: fix function pointer in multi-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: Yu, DapengX > Sent: Tuesday, October 26, 2021 9:56 AM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX > ; stable@dpdk.org > Subject: [PATCH v5] net/ice: fix function pointer in multi-process >=20 > From: Dapeng Yu >=20 > This patch uses the index value to call the function, instead of the func= tion > pointer assignment to save the selection of Receive Flex Descriptor profi= le ID. >=20 > Otherwise the secondary process will run with wrong function address from > primary process. >=20 > Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu > Acked-by: Haiyue Wang Applied to dpdk-next-net-intel. Thanks Qi