Article View: linux.kernel.netdev
Article #17724Re: [PATCH net-next v7 8/9] net: bcmgenet: allow the MTU to be changed
From: Nicolai Buchwitz
Date: Tue, 17 Nov 2026 09:10
Date: Tue, 17 Nov 2026 09:10
23 lines
9145 bytes
9145 bytes
On 15.11.2026 14:01, netdev-bot+sashiko@kernel.org wrote: > [...] > [Severity: Medium] > Has GENET v2 been confirmed to handle the larger thresholds this > enables? No, only v5. See 6/9. > [...] > [Severity: Medium] > Once this lets frames grow past priv->tx_thld_len, does the threshold > split in bcmgenet_xmit() release the head buffer with the wrong DMA API > call? Yes, but it cannot warn (dma_unmap_single_attrs = dma_unmap_page_attrs). What needs fixing is, that first_cb doesn't track the owner of the mapping once split. Will fix this in v8. > [...]
Technical Details
Message-ID:
<f19d926576bb56bab6bc3656fddfcb01@tipi-net.de>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365086-linux-kernel-netdev=dewy.ruReferences:
<20261112-nb-genet-mtu-nn-v2-v7-8-43a5d90b3256@tipi-net.de> <179474771357.2199510.15722627746438398810@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365086-linux-kernel-netdev=dewy.ru From: nb@tipi-net.de (Nicolai Buchwitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v7 8/9] net: bcmgenet: allow the MTU to be changed Date: Tue, 17 Nov 2026 10:10:39 +0100 Organization: Usenet Network Message-ID: <f19d926576bb56bab6bc3656fddfcb01@tipi-net.de> References: <20261112-nb-genet-mtu-nn-v2-v7-8-43a5d90b3256@tipi-net.de> <179474771357.2199510.15722627746438398810@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="2287722"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:SRSHr8de0xOfk9nL5uaDgaLTNVo= sha256:bHMCY2Hf902vbKZyUxCI0HFvmr7lTmRmakcst6l6EBI= sha1:jLIaXx9xvQam0hDO8vRE3pWTGPY= sha256:2J8sX1EHd2z+Nf8w1AIJeE1yl1WaKuGy2nNEaCLRCX8= 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 5EE8D114EB6; Tue, 17 Nov 2026 12:11:02 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[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 (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 qpHAdhAacDIy; Tue, 17 Nov 2026 12:10:59 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-365086-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 6C87F114EB4; Tue, 17 Nov 2026 12:10:50 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 0E0AE6015A3; Tue, 17 Nov 2026 09:10:50 +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=1794906649; b=2cvhPnq6cJFgea+7QzSUrV7ngtDIq/iuK19GcDi7/E7yEPcIxrGmYqBceameBQrJ7Yam xQprJ9zc0Km1CL9eB0+giLw0uwgkkk502Zd0qbH09Y+5EYaRjuzQM8yEgBaWU32l7Av90 Re913UcmC815Ei0ZgSDB4lWixD4fFIeCTAcO/KPiCl0E3cGelTXRDoyKcYL37Xxj5oGkF ZGH5l+XXMqC9D9VrNlqAM4gYXpvvfbcN355v7sarlLtxW26VG8If8Rr1D2qQo6R7SB+7k Guy6eVWB5CyWd45ReQJOfUg/TDHORmyVrX1kFJyeubQqGBWkRzA89FGAanpbhhd72yA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794906649; 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=dXYDFW/0fPMnA6KvoRTsUPnIpezmhFCgKFQeXv7Zuz8=; b=LcDPLWIV9p1zazIpqeydxX5VTdJUqcJwuX7nJanTPzsViV4uNOy8eAdOq44fUDuiSU78 XeQpI+RmvRdbRrSozrQjAp+kjlO6Eno03B8+Bdeb9cbVP5TOsrDz4/Tgb0E4PB1JXjYzq xQ3XF9hYSlTN2MALT+/KpCt9UCBbr3RdQWbBnJHIqHbwLj1e0yfl8K36gYEmL5VovZS67 atTgjgAwZGW78qXEyi7GBzvpZgrI4GV1Jgb69p999yuk4tFfT8urjnjyQnu+jU9RbWLV7 8p/2xLT2RnL1Df9XHTakVcufhrfe+JRJDjokUSkMfmm/344GECtaEqK1fS741tDVM3Q== 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=uCq7+x3I; 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 2A06D606A337; Tue, 17 Nov 2026 09:10:49 +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=uCq7+x3I 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=1794906643; b=qbjP/mXH2TypiFjrVwenQ6+dteXnH9/znrgM1KYaX5QFob9bkqwEbONE6G/ZHl9dELoZ Ih8zbxidqRjz6DIDl4oEFZT7+l/KfdBxW2S5N/Vqt1sqB0KEwNvINgvvlqhPAqQXxisjI XoW/VpHBkk0WUW7X/W7ajrpKXrJkmyly+egVlppFCEBfKS2VEtP47Ex2UtUSFgKePrJVY oAF4VPPd3FuX2z+umW4XL/FONqHUNgAFgzYrNTCD3B81Npz5UTTKwQyqb3Pd1Ny7A3lac u9aoUx6VrsGbtu/6RciWXHIUAjrAsR+0sz4hbd63HSWN55w/aIDX0dES44GGTSNzEyA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794906643; 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=dXYDFW/0fPMnA6KvoRTsUPnIpezmhFCgKFQeXv7Zuz8=; b=BCOrn58NmR086UhxyEQF0CUQSpITu7h599U7fplftZjo4IHJM3Vdioyj1Ya2iyx21YgO wSsVIQPxrgCoY9bZU2UO0neKaQnd4n6CO5GGNLGgSekuT/cy4BzsCT2ayresS+VGDlhrN AbHm0RfSMLQl6STJ/ZNx58jig8twotneF/RVNox8Kx+PRYZNOZUWUCKfTU9jnZmSBKv9J BlyNG7AKHOhdRnXl6DZeE8DK/BNulWD9g2U+OffN5NIy6QFWSYWtNYBR8XVpBmlaXXSQS eN/sjO0kDat5BI/ozJG8dYlv4UnVKNKjVMXT4g+pUrkSG/8KYlzzYgkoWqp7H6c6uTg== 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=uCq7+x3I; 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)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D194B606A338; Tue, 17 Nov 2026 09:10:42 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D194B606A338 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 D089AA1649; Tue, 17 Nov 2026 10:10:39 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1794906640; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=dXYDFW/0fPMnA6KvoRTsUPnIpezmhFCgKFQeXv7Zuz8=; b=uCq7+x3IblpzixUBPKoYlqjH8zs/iOR39mYOetjxr5v22ViJlPlRL+muvXn7yBh92o565H l5gus2MXDJabl8FxLA1t8MIUdRA+u5G39ihbcuNPFSN9VTM008WxgqWf9lfIyD7JN2ep8V kDrHJbCPio/VSRYK33xNRG9dd/il5VqhNIuuEQ+9kqeiglfJwlBVHVcz5OhLYFZ3mr2a5J ncrHEMSUMy1Ir7u6dZgfiVn0Xluip131cjGo5/lmMZY5WEfFVzLJXE/hxyRBS5m8FIODaW hoVRi4oUdr5EXoJBtatSgIhYtgl2kBfdJNnowSBODqoHMycjI6XY5EC3xcG9Yg== 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: opendmb@gmail.com, florian.fainelli@broadcom.com, bcm-kernel-feedback-list@broadcom.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, pierremarinleclercq88@gmail.com, dave.stevenson@raspberrypi.com, justin.chen@broadcom.com X-In-Reply-To: <179474771357.2199510.15722627746438398810@kernel.org> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3