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 E5332A0353; Tue, 1 Mar 2022 12:27:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C186A40DF6; Tue, 1 Mar 2022 12:27:46 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0FE0A407FF; Tue, 1 Mar 2022 12:27:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646134065; x=1677670065; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HvtDEXhixVjHBpHyy7XsWnkL6awOOT9DGooYMlz7XIc=; b=XWk0UfuNZuhghdX7oK6/RJ88Ntfg0cUSyBXu91OMLDFYTfesxeyEJkiD 8quequs2IGp9P3NsxpPsuDCJvSKho6cd7G2LtezsZpcoDAYXsM7G/yUTr 6+yeALC6ixrP92iiZSbE8hSaAgSh+iDheLj7ElbLsw+BBRizGXDJy8cn4 yFSIooP8OzVqj8VrK42GMpQiZsSplCx6aZLc9dZNScIzZtZ67DygHZT3x UDQKkl6RuWf2SMqntu+fVzmEB5eC3gCimAetaBcs+jhVlbEayjnuNVGno IxkgY3YJ88Y97vjQSSPLo3eUQbcXAYWXe982MRSBUaL4ZJKBwe6pMIElz w==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="250695239" X-IronPort-AV: E=Sophos;i="5.90,145,1643702400"; d="scan'208";a="250695239" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2022 03:27:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,145,1643702400"; d="scan'208";a="510475964" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga006.jf.intel.com with ESMTP; 01 Mar 2022 03:27:43 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) 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.2308.21; Tue, 1 Mar 2022 03:27:42 -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.2308.21; Tue, 1 Mar 2022 19:27:41 +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.2308.021; Tue, 1 Mar 2022 19:27:40 +0800 From: "Zhang, Qi Z" To: "Yang, SteveX" , "dev@dpdk.org" CC: "Wu, Jingjing" , "Xing, Beilei" , "Yang, Qiming" , "Yang, SteveX" , "stable@dpdk.org" Subject: RE: [PATCH v1] net/iavf: fix function pointer in multi-process Thread-Topic: [PATCH v1] net/iavf: fix function pointer in multi-process Thread-Index: AQHYLIl/aX4/FwOoHkWrbUL4rH5VzKyqZYZQ Date: Tue, 1 Mar 2022 11:27:40 +0000 Message-ID: <5237bdd8fb4a42c1967cd2ecc99b129d@intel.com> References: <20220228094859.239717-1-stevex.yang@intel.com> In-Reply-To: <20220228094859.239717-1-stevex.yang@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.401.20 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 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 > -----Original Message----- > From: Steve Yang > Sent: Monday, February 28, 2022 5:49 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; Yang, Qiming ; Yang, > SteveX ; stable@dpdk.org > Subject: [PATCH v1] net/iavf: fix function pointer in multi-process >=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: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction") > Cc: stable@dpdk.org >=20 > Signed-off-by: Steve Yang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi