Article View: linux.kernel.netdev
Article #13247Re: [PATCH 6.18.y] net: macb: wait for a running xmit before resetting BQL on close
From: Nicolai Buchwitz
Date: Mon, 09 Nov 2026 14:24
Date: Mon, 09 Nov 2026 14:24
15 lines
8968 bytes
8968 bytes
Hi Greg On 9.11.2026 15:10, Greg Kroah-Hartman wrote: > > Why is that too large? Please backport that instead. Context swapping was a rather large change (+822 / -439 LOC) - if this is considered ok for stable backport, I will send the patches. > [...] Thanks, Nicolai
Technical Details
Message-ID:
<cac12e5512b00adae81224e0e07f773e@tipi-net.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359366-linux-kernel-netdev=dewy.ruReferences:
<20261109-nb-macb-close-6-18-y-v1-1-51af4b20dffb@tipi-net.de> <2026110940-familiar-slick-4d2e@gregkh>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359366-linux-kernel-netdev=dewy.ru From: nb@tipi-net.de (Nicolai Buchwitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH 6.18.y] net: macb: wait for a running xmit before resetting BQL on close Date: Mon, 09 Nov 2026 15:24:07 +0100 Organization: Usenet Network Message-ID: <cac12e5512b00adae81224e0e07f773e@tipi-net.de> References: <20261109-nb-macb-close-6-18-y-v1-1-51af4b20dffb@tipi-net.de> <2026110940-familiar-slick-4d2e@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="377912"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:MjEMsVSl7bu5/2hdV5vc3f/d7xQ= sha256:kydB21twlUnkpv0+2relTyJzLmDZWtWDWURhdhHtM3U= sha1:idS4IC3ZpCrPhU6/Q3kCIT8EJSA= sha256:RauD9I0CSLPDZExLz8xIdw19MmuLgiz6fpnluTaSVQs= 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 533EE11382F; Mon, 9 Nov 2026 17:34:38 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 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] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=tipi-net.de 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 QVJAdY2akMFr; Mon, 9 Nov 2026 17:34:35 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-359366-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 44A6F11382D; Mon, 9 Nov 2026 17:34:26 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id D287A863E4; Mon, 9 Nov 2026 14:24:27 +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=1794234267; b=VcoNGsIrYDW1avAF1pughD1khekDg3mri+8DeZM0lMlHZQt+5FORBeFG0+mdQx9n1giX XyD2aIGrsjv82Kl+QZZ1xyaJ8Eo+FIFK3lXsBub0n+x8Rd7CY0G1H2MJkUEf6wLv+6uDA KqNJMltmTuZugln8Xe2mFkqDh65tAtHNk6P7z9InzbG5DVlLDt5ZohMbqkq1dC8A4fWVh ptfbb33e4SIyfm51/xS50VDSB3v92EZD2ULNcrQs0S7CjrclInOwAhAWOyTeUyiaPAiK+ +usOR5fxGmYrLKR4js8GvHr03kZs3Lm1K22JerOaUY45/cKwyvo3avBt9QAxzl62cHg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794234267; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=tsM7eQwylVMO8r5LUeoxKU/myk8k6PLrfMmALCIMcBE=; b=AHSJdpf5GIxIHUbIDVhZumL/LAv7nzjgh29oup071DYLZPeCeSdFI4U4WDAItGpn2nVD 6ZXkQ2YOGzttv6St4V1TMcJnMAnBGFXLqFfcNg8xtj8d8PMh2Vpel+HEc24I8gnFyEW6H g0G2yLbcke23LFM3wqMGUgEjIUr/dzoiuvLXmNQLMz6H1sm1lINQ5YgzY0LG/vD7eBlwF CtK2hYS3Tu++Sb7vgrCAdItUx1ZymHJxvvbWTyJ2eTVDGHCchqDc6v2Nv1v4kFgnCXdKI ImZRy4hjboHluH+W85dE/KMTEIvrsTlrIRmMN/7nJjlUK0+qUDkWFTxbbf70mOERExA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=KdxZ1fF5; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; 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 6CEE0606A325; Mon, 9 Nov 2026 14:24:27 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=KdxZ1fF5 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794234256; b=boHpGhSjnCvzV8k8nXVYr+kGPH2Y6X2dnjWJHpmAkX1SP6NojkK2Ivtbblfi311Xm6AJ TovQ1fPQUMoLmRoRRP3YbWJmgmUwCNMwm36TrF0ZSVLgkeNPo84b9efpIPF0CcIuDYeuL 7rEIMEcCcXF6IZ9lF9EjUWs09Jr1Kjh0WiEQGHuxgovyzpdxCADcWqxfdCghzwffYGkFJ 6Yv/ldLTwMSYH1t0KHvg88MhQR9/oxvz2Av0NGV9mvbZGBwtbQCZ+SXGpT22dRSqcmul9 ekmQE6dulXioT0Oi4oXObcCUdtKAPoz/7F28DjSA5fP8buPxEZ0i/C0QuzeZ5gmWafg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794234256; h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=tsM7eQwylVMO8r5LUeoxKU/myk8k6PLrfMmALCIMcBE=; b=wjgH5e+GBe256xAzjVpe6wIlaqJk/wZHWM9kHZ6adYd0WMem7gOjrD62AKaxhK8bKui2 LwgfVdJcGJRczRxIooA6ur5R24DEMWz4y8FxGovxcEjVF98vEwCfcwMphJjuVfTEGtI8V IOblESckV6VK81mJA8ggnARWc1LIDBFE82yD1tns7Qpphby5/sCXDVSlMll1U31UrtbJT b+qLb/T1VDMWxVzDGnIPR1NvcIF21f8OVkeLCmgwxpb6hYAyun3is9Q2Tv1PxzEjGN1/9 POGA9OtpyUNRZshPLLwexKIstpDjo6VMQIoX0YVxJpkBXEkFAV8rKxx/OzsBg9HJrUA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=KdxZ1fF5; arc=none smtp.remote-ip=194.13.80.246 X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 701CB606A31C; Mon, 9 Nov 2026 14:24:13 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 701CB606A31C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7DAF8A1583; Mon, 09 Nov 2026 15:24:07 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1794234251; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=tsM7eQwylVMO8r5LUeoxKU/myk8k6PLrfMmALCIMcBE=; b=KdxZ1fF58v/fd6xsanqRJ8XKtULMYKJQAQ+1Mv3EiffCV2a4Sjv14ktTDN7BDVeztDuPn9 I3uX0t8He8qzwPRdZYMuJeSeODTvIUvxtO6pZsf3srCqWdGRvVtLYZky15/FyoB2QudWdr vj9xVMe0nzJ9Hywp1TFVwMP7R9Lt3BL5tdJzeVbXRD4VO0YdzUGV/mKlzsFFG0HFVHoXlY Twjz6DzSBFgBBtrhirlauBxkLa+tUMHzPtvL96i389Y5n7j4lh8edkzIrSRqNK6/VFjMLv pXfiQzwsK9tkZAfD0MMljPf1GWGNDgn8Ofk61q62k9KwRfb29+eAl+bmfinCSg== 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-Cc: stable@vger.kernel.org, Sasha Levin <sashal@kernel.org>, ThΓ©o Lebrun <theo.lebrun@bootlin.com>, Conor Dooley <conor.dooley@microchip.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Sean Anderson <sean.anderson@linux.dev>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-In-Reply-To: <2026110940-familiar-slick-4d2e@gregkh> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3