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 BE80142D76 for ; Wed, 28 Jun 2023 02:12:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95CCD406B3; Wed, 28 Jun 2023 02:12:17 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 5BF2340151; Wed, 28 Jun 2023 02:12:16 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id E25F43200936; Tue, 27 Jun 2023 20:12:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 27 Jun 2023 20:12:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1687911134; x=1687997534; bh=fbbwXJC6O3+8PJyOUoeEFsKKB3CGS+CkcJd j6elyykk=; b=ffmuVtuTdsCui02Q4EhXvoSLs3FSfBlCVtPktNp6JsYwLCytUeO kZlH52gAvu4jPC8Zrx1jARcBSH7SSbuzb+jZxtDwXP/imbwqL0vpwWS+FQ0c5ADX E2txcHWPvcV7Nf3lUlOiihxfmid923CvunxlSsMV3d5jEPcbCY2PJRoc1PaG5Dwo 6yWhKHTt3GpVp/9jQu/iIb5M1XMMI/CGW+6f2uJ9tGiYONq2v4dFiKM06mPnOdfK eqEjYbGiBlSZBRiBfi2HnDNoMFGZRJZmcZIR7oeP4jT+PI0Bhz3EmrZR8uXC3rlL 4qSSuoB+Dw7H9iG/VVe0SxCc+A9G8iblEYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1687911134; x=1687997534; bh=fbbwXJC6O3+8PJyOUoeEFsKKB3CGS+CkcJd j6elyykk=; b=S6MxoSpeptmQZxHnFEjp9oqSDX1lxCcZPuHAH1QgwwoquWwmru0 E7wc3pTTaxSXVX4RcdsJD+Ke7VRZZyvrEkfrjc3vpFreLqJJ3EPlc7IitzhWAszA XB+vndZY7hOg3UFprMaE5AEMgDPikxc9Hdug/j99CWKNsaUQ5ygMqVw06voR6u/T nNUtkrMPxVJCkY+beKaje0HwxcpMfhqz1UV6QetJZngOubwPGu1NgfHXmtB5xxHu QATHkpHQ4vjU69BR1ZEwLZIkWes+jREjyE8cZTOg+XdAtBaK4ICSEj7znYQt/9rI aY1cDj9BUDOW0xZ2h2LD9dNCrlmJ/PCjsaQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtddugdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Jun 2023 20:12:13 -0400 (EDT) From: Thomas Monjalon To: jingjing.wu@intel.com, Junfeng Guo Cc: dev@dpdk.org, stable@dpdk.org, xingguang.he@intel.com, kevin.laatz@intel.com, bruce.richardson@intel.com Subject: Re: [PATCH] examples/ntb: remove redundant logic for dev close Date: Wed, 28 Jun 2023 02:12:12 +0200 Message-ID: <1980494.zToM8qfIzz@thomas> In-Reply-To: <20230614051423.176572-1-junfeng.guo@intel.com> References: <20230614051423.176572-1-junfeng.guo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 14/06/2023 07:14, Junfeng Guo: > During EAL cleanup stage, all bus devices are cleaned up properly. > Based on this, there is no need to do extra device close process, > which may call the dev ops '*dev->dev_ops->dev_close' twice. > > If this dev ops for ntb was called twice, the interrupt handle for > EAL will be disabled twice and will lead to error for the seconde > time. Like this: "EAL: Error disabling MSI-X interrupts for fd xx" You should fix ntb to not disable interrupt twice.