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 DCDB34252E; Thu, 7 Sep 2023 03:42:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CE5CF402B0; Thu, 7 Sep 2023 03:42:03 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id C262B4029D for ; Thu, 7 Sep 2023 03:42:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694050922; x=1725586922; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=CKsSlmdmz+NcX3fKUmeTu+wt0AzEy43g48znNzjHT/Q=; b=Xy4M1Kg6RpAgcvQZ/Xi07cl4yDDwL47XJFWUgV1p5A4L0EsgLS8g8AP6 y5bNVKYpSMLO8KuanQuC9+6OygzGoIOIaf72oYVRrFIT35djuvU7UZGTE 4gTBCRdRc6g2F7nEuq0sXZRJ9rztYcfK+VGkjc8GGnE5a/7mkxuLZm0DJ QE/gxbqx35xzWDbilMTBXQezHIygoyHtTBrpa+5tMbMcHInKI3TlDo6S1 +knYfO1SIZymVkgp/9eFLvP/ykbFX3asXuSz1+q95RtxvOw5ZZI7/dRBp p3pGYCTv4DxVRLESmOGNOzjt0pVW1CrXEPmc3ZFNkGrGcsJVl9wJDgkJd w==; X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="443616626" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="443616626" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 18:42:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="735291444" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="735291444" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Sep 2023 18:42:00 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 6 Sep 2023 18:42:00 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Wed, 6 Sep 2023 18:42:00 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Wed, 6 Sep 2023 18:41:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mKHRZK7axu6qlLddQZl7Mx214KzmdF7w4rxRatTQXkqaGOhEjc6/3H05ym9eB8RnJ0IUixevnP+An4dMwZLBIEmg58nJHZll/JWeB307VpECr6W7RbDZuJGNSBNn55u39rAL8C0MA23wDmEhBwqMaMlGS3DgcRcsVGOTFOiR5zjfdGpaamclOQ+lw2GEYdau+3mqaJuOkjv14sGThpPEdqfLq5kJCexnGGfKoftYnTwNx+1E8D76kuXcvYbWwhgLAX4rZReoTMZiTMcHdSdHqPRaz2PTBMLVsP7JOVCVXwYLsv9wqDa9QhH2vbp0qjKFJ0mDA3Wk1EjNf3eMoTdhkA== 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=ym1hSiC0enziW2uSOq73NLYsoxKNfDrS8AuYqj0UtP4=; b=KKlVqx92giPstNBTAjAORE2DLHb5mLSHqjYiofUPcejzDGvapDS0hh0WfI8mus8j7XA7qIgLxnUwHetkPL/pqW/qFrHaX4o3iiQHcU1vfFwFI++ATpOt4VFwFMom+4kxLxTx1xsU5Te+BbrrA5uSXfNtdTuOOo9jJibUd2Gz9YxSAndrpZwV1as+D4S1WaYMUN1q/wNRqUHh+ZNrq3GfLV7JvTIfU1Uk2V5srp/1y7UCxn4tgQTKbqaLKHBkWnSa8M4SYbqXYNRLPZz/ffeBqtz8yODjpLw2IxrJC2NxPvQQtxH3FqVrhvl63NGgsAcm40qAEoePh8olC2lo7TlPAQ== 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 DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by IA1PR11MB6419.namprd11.prod.outlook.com (2603:10b6:208:3a9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.33; Thu, 7 Sep 2023 01:41:48 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::8a49:15a2:ab69:91c3]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::8a49:15a2:ab69:91c3%4]) with mapi id 15.20.6745.030; Thu, 7 Sep 2023 01:41:48 +0000 From: "Zhang, Qi Z" To: Stephen Hemminger , "Singhal, Saurabh" CC: Thomas Monjalon , "Wu, Jingjing" , "Xing, Beilei" , "dev@dpdk.org" Subject: RE: [PATCH v2] net/iavf: unregister intr handler before FD close Thread-Topic: [PATCH v2] net/iavf: unregister intr handler before FD close Thread-Index: AQHZ4MJtoC/ZaOuq3060GiR/cJtjX7AN1NGAgADChJA= Date: Thu, 7 Sep 2023 01:41:47 +0000 Message-ID: References: <20230906114750.74496-1-saurabhs@arista.com> <20230906070519.14781476@hermes.local> In-Reply-To: <20230906070519.14781476@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|IA1PR11MB6419:EE_ x-ms-office365-filtering-correlation-id: ff81245e-5468-463e-5c85-08dbaf4399be x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cxXsfFbWLb/lwOIHyKlvHZmH07Z4UnrPNxDJSdGENeTT/o3Gz3vFOWAAJmCvK7jHaWR/Lktzhb1dAwcR+cnYjr3/dI0XqumqBzTH6gz+tItfQJgpynKka8bezr+5M/iHw4aMW42/4DsToFuqWHzX1MjjqzwHEOZvadcn7B6DMWA/fiyn41dcn648ElezBnAjqi/94/H4+M7pyThGOfsbxxHiruXKLlaN/2acFbrupeVXy4gt31uSjNL+j8mPTxZfkyqiPIA4gGZWLDQp8kj/CyH0sC9lAfOzOPlmAkOp+k+580nBA1j2lO0F/TJRZyC5mUC3cRpZJsPA+i6gh5RqWersw+iAfiU5yvK1L3rtlYbPniKvv2oGr70X7jv/qJnLmn/QgN7BuDIP+p8H3mKnl/+kH2xE1Yj8ipORr8TB31p/DiAqv73OG27MPpYRofb/BxNf2YN9SpqPaPj27/9sxuD9Fq7GBOWbvj3MOfreKr3KdXtPpJwtfM+fcrNNTZ0EVRoopeTxHXfm2/YWcYdGEbIccWenWkj+pb8bu9K99hokiBL/tTGox2yApGewdIBsUCC5OpDj0PvBOwLl2f1rE2b456DrNguL9z5KW8bVpF2OwyIqcn/vqpDVTi+ykdNi x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(39860400002)(376002)(136003)(346002)(396003)(451199024)(186009)(1800799009)(8936002)(4744005)(26005)(2906002)(33656002)(83380400001)(8676002)(53546011)(9686003)(6506007)(7696005)(86362001)(71200400001)(82960400001)(478600001)(38100700002)(5660300002)(122000001)(38070700005)(4326008)(52536014)(110136005)(316002)(64756008)(54906003)(76116006)(66446008)(66946007)(66476007)(66556008)(55016003)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?saWxXuFuY8UxHnDZTY7zpo06Bf7U+VBCMrAYROFnXmbOFQ9Z41bIZkrWJH9b?= =?us-ascii?Q?vig245uChI8eoCABIXMFQ1VPQukqsNC1zQuSe5auChHiMRbpexhzPlOE0OTW?= =?us-ascii?Q?FpBKKpxQXlr+s3Qkt2EmVGwHiabzpLdcY8XaFGhuYsEkwyo9ZKGEiH3dbnft?= =?us-ascii?Q?+ET1BFjpVXIOptc86bkeDH2BV9tMceXjNrTwzsC3yOpTkjk0qtjdOQfGTBWt?= =?us-ascii?Q?WdLkaNbfzK5hGj/laCxQ30Vu/i1iAJvrxi8pvMm2c2RzIQNS8K2m6QvTxAeV?= =?us-ascii?Q?ZvSNRNUYLNoF4PTJT/FcTNFSYEsqccWqdhSyDO8s5H0sebicU7B3ZrxDP7ig?= =?us-ascii?Q?tU08z4rg97HX3n62l/FR/QinWi7o2ICl+rNNN4HTEKFuGCGHaa9CsgH560Wt?= =?us-ascii?Q?9JaU6qfNLKM26yen5U5CgOk7HMk6MO3I/lTUZN5qRJ2EV1Iv/MetUlSFMiVS?= =?us-ascii?Q?404IKcRPvfMCxN9Aa/zO1I5gk3kmVt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ugAYRPzE4dRnEYUCh7NHN7LXRH/UC7Cuf86AH6HplRuuh/qzVJP6aHj5L?= =?us-ascii?Q?w98D4IDG4pqg2++WZU4IomNtUvLj68hr+MNBQaQKuSRe01fLxgpB3qoRfwqx?= =?us-ascii?Q?rScz3eGNxyG2FEGDKDe+f/+YniuE7IjDm6k9zgWisYtN3TKIjhuIq3tp1Dag?= =?us-ascii?Q?UYtDKWpPrsIr5+fm93r+2vnQNhf0lQqJkTzckH+o?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff81245e-5468-463e-5c85-08dbaf4399be X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2023 01:41:47.9749 (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: UFyuOX6qduDoAcj0Uwn7ZTXJlBlvrbXRj4//tVqV9CDFw2ezcxd3OONQOHvXDEtXQb+E8BxLAXocT5MVpwH42w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6419 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 > -----Original Message----- > From: Stephen Hemminger > Sent: Wednesday, September 6, 2023 10:05 PM > To: Singhal, Saurabh > Cc: Thomas Monjalon ; Wu, Jingjing > ; Xing, Beilei ; dev@dpdk.o= rg > Subject: Re: [PATCH v2] net/iavf: unregister intr handler before FD close >=20 > On Wed, 6 Sep 2023 04:47:49 -0700 > Saurabh Singhal wrote: >=20 > > +static inline void iavf_disable_irq0(struct iavf_hw *hw); >=20 > inline on function prototype is meaningless and not needed. Please also fix the compile error.