Article View: linux.kernel.netdev
Article #10782Re: [PATCH] net: stmmac: unwind the XSK pool when the initial wakeup fails
From: Andrew Lunn
Date: Wed, 04 Nov 2026 04:12
Date: Wed, 04 Nov 2026 04:12
10 lines
8800 bytes
8800 bytes
> +static int stmmac_xdp_disable_pool(struct stmmac_priv *priv, u16 queue);
Never add forward declarations in the kernel, move the code needed
before it is called.
Andrew
---
pw-bot: cr
Technical Details
Message-ID:
<972f6505-f5ff-470a-bc2e-d82f7ecd0577@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356179-linux-kernel-netdev=dewy.ruReferences:
<20261104025342.1527441-1-vulab@iscas.ac.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356179-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net: stmmac: unwind the XSK pool when the initial wakeup fails Date: Wed, 4 Nov 2026 05:12:29 +0100 Organization: Usenet Network Message-ID: <972f6505-f5ff-470a-bc2e-d82f7ecd0577@lunn.ch> References: <20261104025342.1527441-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3322967"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:kuowGH89owdHNpgAhOMSHrmqhgQ= sha256:s2tZnF7eqUHjMSb0rDaqCy+CajM2V8DylBLksLb2Nn8= sha1:/+D1ZcOilhKzKAWDi/YnSe/6DGo= sha256:AyjQ6fyWernOLksYjNG2PFJY/Ui+JP7InHXT/4U4S0c= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id D1199112AD7; Wed, 4 Nov 2026 07:13:18 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CzwRuwkUsjOo; Wed, 4 Nov 2026 07:13:15 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-356179-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id D92CB112AD3; Wed, 4 Nov 2026 07:13:04 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id CF555296BB; Wed, 4 Nov 2026 04:12:55 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793765574; b=RBx5KDvc9QtHBhMePm3ISU6vXC6Gl5BiJVZF/cEhZsyjRXjTM/KqaAbtEldPBWUAXGFi NuUmpYiN4R59NRjFV1fjrVfpQ4S6lL7cDVnCQzPseEIp4ZCBBoT1yItHbx01O379y3rbg 7FsD97o//l2YgK2gs6JSnkRy4AuHOrRcmJbiU7xI99qAZFcZnX6NoAKwMRLdAp8gwa9yt FhMsWazQvdjXoJJfQiivRxnH0HnkJ1+454IhuFYM9VuduxkAivjpLBpcRXJMfnQRopqAZ ON6e8piVB04WOSpkBYKRfPp3HIfw485J0aquvOfOOenBwz5dWuUciSQhl1nkbSSFRTg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793765574; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date: From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=rNQVTx4lhPT7gUYO3AytUq5JqSDXfzRQRvUF5K9FXCY=; b=sTpnVyVMPoqc0XtAQ9n7d5ubEabA5mWwi8CZvde2zW74g1oo7ZYgGoJTXMEkfckbka/H MgOosnnK4Mh2LYDzJbwybEC9IBWiC6X34N7Rc5tG5WBLWZtPSj4KsRbdHuQSaPlzOJ/Ey HMCgX89hcZ1qbrCe/PClDZuc3LuP4TnMoYABGBoIHEkdbYGKR8/ayt8uyswA6eB8HgJqv DRtQubG8JwecCZkR+OydlzE5g6dr65m8cR/wlNv63NJUDiO7yQ8zPPT8EEqlr7b8CySCr VrM5eWeU/P5CRC1SfVumbs4bmjrq7O0U8ubV622XmHsHQFWs4yIOidTEg5ctMjnl/Sw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=j2KqxSqa; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68EC6606A32F; Wed, 4 Nov 2026 04:12:54 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=j2KqxSqa X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793765568; b=JL4YLokKx7RafAXfKZGPYQdjIIFsq76Is4qsfDultSgZPY9HeA2jDUA1XZYC5Ory8Re9 mqEurRjOnS+al92z32ZHoTV/mgXBW4E3KNWomIS4FEBte0J4dPc7Hn36DPS+IymsdtYzn VnxXNwXoEPH2voSX6Q6jmV3a5WMu49Yx5htSmq1AURnIgg6Zsoy+bZ4gbDL/2hvujweOY ALIlv5UJBiyrEi88eT5QTnfr5fvMovafF4Sc+Yj57WINyTnw8rs782NARxtYXXjuIZaF6 nLYEJnAImG7hC99NdXZq/z9eFLlnTmJA/ZYE2uPgBdjNCs82Vdk3Ld9s8bnDy9kj2Ew== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793765568; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=rNQVTx4lhPT7gUYO3AytUq5JqSDXfzRQRvUF5K9FXCY=; b=2/B/804rs/uXBWRzDvKcYygwyBnbHPFKRNNxIvw90DtlHW+52ofaCQebU4REWx2qepEg YW5uXnddr1DB1LP5W+BRwZmTH6oWEaP6LZcvVrK2han064E1yPNPw1riw3AkjP9l2MZPT WS/AW9apsK/FT/GGhPxAUHJtdgcjJncuFwTMOVUPzLfEexa2m2FKWJ2kpp4+Xzle/6XCe O4Tt/gZUDciTeO7xVPe/vhkIjbFSJcQcqLREHjVUHnnfs/56gYrlyIK+wMrkULUcAnUTr 7J0jCpW230hP2n2YaTBRsI6g+Swmy5S0lSTTkzZrF8VF+JEtEUYhikOECjJ1lzMxWYA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=j2KqxSqa; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B6A6606A31B; Wed, 4 Nov 2026 04:12:47 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1B6A6606A31B X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=rNQVTx4lhPT7gUYO3AytUq5JqSDXfzRQRvUF5K9FXCY=; b=j2KqxSqahhxPxqBn2O3ZEJgme5 ImruPr9ETsXPi8d5ePjsYJb2m6RBUStdiGJSdtSFxd7HFkI+VOcc+oUZkVWFpl3AwHtWJAln4RcJ6 GeDbFfQRtejBBRlQKwEIpeph9JpAzdmKAJne4RpTmXYZCzm2yihURS8yhqAn7HP27Pg4=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xOSMP-00EEjx-JJ; Wed, 04 Nov 2026 05:12:29 +0100 X-Cc: Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com>, Stanislav Fomichev <sdf@fomichev.me>, Maxime Chevallier <maxime.chevallier@bootlin.com>, Andrew Lunn <andrew+netdev@lunn.ch>, Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261104025342.1527441-1-vulab@iscas.ac.cn>