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 70716A0093; Tue, 8 Mar 2022 02:31:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 451AB410F4; Tue, 8 Mar 2022 02:31:31 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 04D6E410DD; Tue, 8 Mar 2022 02:31:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646703089; x=1678239089; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=w7+FiJaNjNaDCt66Vm6cIwO2fzK5DcRIjF1QhLmTYbs=; b=jJT74wkKMgQ9PQBhjTqx41V6SKIbhbgUY45M/eqVowWTVT2bcrkRl+eW Vdpt3V6Fn3SemxXcRtINR8HivqLLyEXsDBdHKHbuLmdqnSl2sIL4jGzYq BkLeD60IkWcTPLbVSrVHIMtmma/+UM+vUp/RLwiJPncfBvWEGH2SzYVKH QNCXDH3U9gbc8DkD2YdLH/BzUH0X2gI4D3FhS4QPlCLqDJIbuLAc6fPUp IzUamq8cE82vcmXt66Z5yQbyjVU0mKgR7dY1FSbVJpLVhGZeavEzU5iNR Y9qOLQLKB8fFMMiD2WbTmGPruAsD66gkwaXgK+PE6IPjwYV4ybFOsU5i4 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10279"; a="252129916" X-IronPort-AV: E=Sophos;i="5.90,163,1643702400"; d="scan'208";a="252129916" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2022 17:31:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,163,1643702400"; d="scan'208";a="711341646" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga005.jf.intel.com with ESMTP; 07 Mar 2022 17:31:27 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 7 Mar 2022 17:31:27 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 7 Mar 2022 17:31:26 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Mon, 7 Mar 2022 17:31:26 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Mon, 7 Mar 2022 17:31:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bmIFBKDq0z/I3Q6gFkpRzB/1f2lL2EqOjAXqxjJ9Anh3xA0FrkGL4JbIE7sqKwGaHSSrPEbHEKYWUqVBzKm4ldMEiYR5/k89wkWWEU/WIElAoJ05buiviBo3Dch3txXZUd+5Nei8LWw55ODXhe1hoeYGD3htqb3CuXH6xAGMjNQMMbZ0+L49sRCq49tB3uD6OClv7ozq3OhHvaizok/hR+0l1NFIGUlXv60kPAhZSE6w5pZaR4xX0EZ9f5MXf4ZBV4PrUizCp5/CYxP+Ov59nrTyrP1L9TEpcmUbzpVJ0QGMAZLJVPpoZjwyR2cxkDsWn7tLzwYPgnyGt9Gc2yeU2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=w7+FiJaNjNaDCt66Vm6cIwO2fzK5DcRIjF1QhLmTYbs=; b=l6T04WAc7INM9BkSnOEOo8+Q1ndKurdlptlQaLWrqrr6xo1Tpo8EjRi03iesWzeVt7TuNCwioNzxSOGAwp8l+sEZOvml/TemiMd8lqt1+j0spfuwvfDy9CasFcGhGLsEMcaAqje5AeYY/GQC1yO8n4RPw0rwYvXv59E5OvE6Cze8d84X+mazh9862d8qUe6bbofyxOhDiw/p0/F0U6BZb8HMg/RyZYeRW7wRtUB+6KRHWAz7ms0gAxT2l5w9VkznLqHdcfcRAwBm2qeqmdbWdT3q628xsq7d29nHmcohWLGc86sLXz25/uKmIja/jCzGF5WsEqBHV7DQyQ9vi5WIyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM6PR11MB3530.namprd11.prod.outlook.com (2603:10b6:5:72::19) by SJ0PR11MB5134.namprd11.prod.outlook.com (2603:10b6:a03:2de::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Tue, 8 Mar 2022 01:31:24 +0000 Received: from DM6PR11MB3530.namprd11.prod.outlook.com ([fe80::4c05:98bd:a369:b759]) by DM6PR11MB3530.namprd11.prod.outlook.com ([fe80::4c05:98bd:a369:b759%3]) with mapi id 15.20.5038.027; Tue, 8 Mar 2022 01:31:24 +0000 From: "Huang, Wei" To: Thomas Monjalon , "Zhang, Tianfei" CC: "dev@dpdk.org" , "Xu, Rosen" , "Zhang, Qi Z" , "nipun.gupta@nxp.com" , "hemant.agrawal@nxp.com" , "stable@dpdk.org" , "Yigit, Ferruh" Subject: RE: [PATCH v1] raw/ifpga: fix interrupt handle allocation Thread-Topic: [PATCH v1] raw/ifpga: fix interrupt handle allocation Thread-Index: AQHYJJsR0XDJSKWt2EKB9h6wSat4aqydlcMAgBcFLICAADJm0A== Date: Tue, 8 Mar 2022 01:31:23 +0000 Message-ID: References: <20220218073848.268548-1-wei.huang@intel.com> <4078763.CrzyxZ31qj@thomas> In-Reply-To: <4078763.CrzyxZ31qj@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.401.20 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7092c475-4bb2-4c25-3085-08da00a35b8c x-ms-traffictypediagnostic: SJ0PR11MB5134:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4kofeVJBnvsbQcD3cw+TDxK7lGqD+JiYqQ6wyQeG6sRYIEls6j41Mg8NpdJi7hhH2Edpda5HsrsSjomMBE5j7NeQDs4lLP8rfdO62CMmFbU8Hh7Hbe/p/S4jstNHqXw+5vLMcQ6nJY3mfby1j8B6QHFdcJktpUicp2o/scjeJ/xplacuNAAO7qakUWZJOgsI4GRnPsLlJu+IOg5n0oPekoESdlyarv40FmI95envP4oG8fQCr5AL97B0Hn/2sxjCbIS3ON/z2686RYgT/P1U0o4Bm3Hd98cWzF4crJlKAw5DJ86GTn1HuvnF0jkAdeeXcamgZlQH94zFVaenKFz23rLV9ugqRs+8iycYSl8EGXXV33n/k40xMc+asAF0PErY8dd2GcXuIdALgjanouWomBc+UcXS22TkdcApUcVkhr4Jb30JP8tzxLhrFrJOWoIqxqX168XJqJrtj3r2qM02ZhRLnt1Yu19lWxvNjKVWIsmL6ZbtuGE6Xg5IsosOaXa0Nusc/MrROnDw6y7XGC8z0eDQP3W26uuv1woqKAJfh42Z5aqCOgCt5vqZzmI/lkoM2t6lpJMFedPXqKXOzZpFAT0tHisIevKtnJ8JKrSPKuGwZ5LInf46CHdO66dV+elLh+e+NYuaz55iwx1mCjcek+GXkEaFQUWzRACLOg/PbSTZhMs6ki6REG3N7vhiZrZfWCdwDm6CBQvE7Ya8CjxV2w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3530.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(186003)(38100700002)(9686003)(86362001)(71200400001)(26005)(2906002)(316002)(33656002)(110136005)(107886003)(4744005)(54906003)(6636002)(82960400001)(122000001)(83380400001)(55016003)(66556008)(66476007)(64756008)(8676002)(66946007)(76116006)(66446008)(4326008)(508600001)(38070700005)(53546011)(52536014)(5660300002)(8936002)(7696005)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+QR34+xNx7u1gOmIB9Nds010zBhkz+3ymzIzGz5ruvW4f/KZqQQMQtTyslW4?= =?us-ascii?Q?+9xvViFHU1zYvCMMRY1U1Nm7zX4in+8BXTjkbeFPHXiFUt4VmAKZOlRX5uYl?= =?us-ascii?Q?tvDrdB52MB4JO+bzZXuJmGaFVOaVhIa1uHaUb3DjzmWUGXISnSyjBFkXQIAN?= =?us-ascii?Q?EMdNFF4jkDfJzFDQxifFTPp4vu0zceUMmpmAYp0CYb45cv+McGdmNuhzcVZZ?= =?us-ascii?Q?dvx/B+oOxvvtIl+Brh+NOgcjJpgd//FsTkp+xw78Frhu9I8/Geq3s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7bVZWps8LWo4sg2B9TelKVTJuPs3qUkdzDhUmXb?= =?us-ascii?Q?la2GjyhCXjISd0s+pQ8PVjs8F+QdRKEUbVJCSyjP32Rix7HItj9vZgUpWtNH?= =?us-ascii?Q?OepBbwWFVhQHr7GeE+Y2yWMXcXfvg5/fAumC6YFzHA3D9B6VePtY6PV7qYV/?= =?us-ascii?Q?pJTX2oGEelrbKPGUdYGGk+0YNEWHt9wry6DvFaaPRIedrtwyrYeeGG0dwpJD?= =?us-ascii?Q?GP59eZNmzWy3NErMyA/CMDd7en+kgLKXhG/rMHNI0ib1fccmKJYb4u2zL8io?= =?us-ascii?Q?kySKo9UDZlAEr2nb/9zyY0NAya9qg4thgE2fBvCnKVfDPwk38nEn8cqSywhk?= =?us-ascii?Q?qzr/nNbbQA/oIGzaCu3n1okHSZynV01wyRnb3dhXu3puvmL9l8vSO/9xiM5H?= =?us-ascii?Q?ZRMEjv80R+QgT17hTXmqKP7fOEPOKiN4ywwNAgAEQcMkuq3VqDJm63VzqgMz?= =?us-ascii?Q?6Q=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3530.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7092c475-4bb2-4c25-3085-08da00a35b8c X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2022 01:31:24.0211 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /itJGJqDwZhXrPrbBl2utX9/mjO3q6I+djVJbjDjAMij8LhAlhT1PE0+/QGoM35YpvGDSz7iHlFG6ZjYq8yV7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5134 X-OriginatorOrg: intel.com 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 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, March 8, 2022 06:24 > To: Huang, Wei ; Zhang, Tianfei > > Cc: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z > ; nipun.gupta@nxp.com; hemant.agrawal@nxp.com; > stable@dpdk.org; Yigit, Ferruh > Subject: Re: [PATCH v1] raw/ifpga: fix interrupt handle allocation >=20 > 21/02/2022 07:51, Zhang, Tianfei: > > From: Huang, Wei > > > Allocate FPGA interrupt handle instance for each card. >=20 > It doesn't say what was the issue. Original code use global interrupt handle for all cards, the same interrupt= handle will be registered by each card, so only the last card will be inte= rrupted correctly, it's the problem. >=20 > > > > > > Fixes: e0a1aafe2af9 ("raw/ifpga: introduce IRQ functions") > > > Cc: stable@dpdk.org > > > > > > Signed-off-by: Wei Huang > > > > It looks good for me. > > > > Acked-by: Tianfei Zhang >=20 > Applied >=20