🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5348

Re: [PATCH net-next v11 0/9] net: macb: implement context swapping

#5348
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 07:50
44 lines
10276 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 13 Oct 2026 15:16:38 +0200 you wrote:
> MACB has a pretty primitive approach to buffer management. They are all
> stored in `struct macb *bp`. On operations that require buffer realloc
> (set_ringparam & change_mtu at the moment), the only option is to close
> the interface, change our global state and re-open the interface.
> 
> Two issues:
> - It doesn't fly on memory pressured systems; we free our precious
>   buffers and don't manage to reallocate fully, meaning our machine
>   just lost its network access.
> - Anecdotally, it is pretty slow because it implies a full PHY reinit.
> 
> [...]

Here is the summary with links:
  - [net-next,v11,1/9] net: macb: close race between NAPI polls & ndo_stop
    https://git.kernel.org/netdev/net-next/c/ba16ad3c8769
  - [net-next,v11,2/9] net: macb: introduce macb_context struct for buffer management
    https://git.kernel.org/netdev/net-next/c/435345c65180
  - [net-next,v11,3/9] net: macb: avoid macb_init_rx_buffer_size() modifying state
    https://git.kernel.org/netdev/net-next/c/b8ab596dabde
  - [net-next,v11,4/9] net: macb: make `struct macb` subset reachable from macb_context struct
    https://git.kernel.org/netdev/net-next/c/9bfec20d011f
  - [net-next,v11,5/9] net: macb: change caps helpers signatures
    https://git.kernel.org/netdev/net-next/c/dd1aaefee4f6
  - [net-next,v11,6/9] net: macb: change function signatures to take contexts
    https://git.kernel.org/netdev/net-next/c/ed16494c2c50
  - [net-next,v11,7/9] net: macb: introduce macb_context_alloc() helper
    https://git.kernel.org/netdev/net-next/c/88e99640fcd0
  - [net-next,v11,8/9] net: macb: use context swapping in .set_ringparam()
    https://git.kernel.org/netdev/net-next/c/dcc3288b9433
  - [net-next,v11,9/9] net: macb: use context swapping in .ndo_change_mtu()
    https://git.kernel.org/netdev/net-next/c/a98375924d64

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179248261378.3556861.3740380461349419952.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349099-linux-kernel-netdev=dewy.ru
References: <20261013-macb-context-v11-0-b27785167566@bootlin.com>

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-349099-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v11 0/9] net: macb: implement context swapping
Date: Tue, 20 Oct 2026 07:50:13 +0000
Organization: Usenet Network
Message-ID: <179248261378.3556861.3740380461349419952.git-patchwork-notify@kernel.org>
References: <20261013-macb-context-v11-0-b27785167566@bootlin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3805825"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:vW/lUJ3sPalv9iBfLH1IP/m75nc= sha256:DM3ApRq/c/PuCN9fgoYjvd423o66Ozjr0AKnw8zCj7g=
	sha1:bD1yHnyynnCiFxYsJ50pcG+CHMg= sha256:VR1zw/8zM+X9U+25VrM9Imyrw2iAYP8qQiFtnNsHbMM=
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 0DE20110C3B; Tue, 20 Oct 2026 10:54:28 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.729
X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.org
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 R2S2S3zUalYa;
	Tue, 20 Oct 2026 10:54:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349099-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 9782D1108D2; Tue, 20 Oct 2026 10:54:14 +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 D9CFF42CA9; Tue, 20 Oct 2026 07:50:26 +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=1792482626;
	b=QVCdMwLZLHWdjToS0+AGhFviml3/vL71cBaLfMaRlUy/QCBtnz9jw4ezIHtKI3XmGVsP
	 GfDvuQnqMPIppQNjXNQccbiWgBdnAdvEQRNsJU6z1GNogsosqCscba6W6kbqxzfmQEUC7
	 52h/Cro2JLhjdmBRfDje1snJcUQRrQ7efLzXGD8h0W94ouqH9lw5Rgx3K7IuYa6KK3DRp
	 bFYyQRx4u5NFAAqDLK7ob/K9iKR+jlVW4TjEIvZxnyn03k22vfhZ57mOJhwi7SS+/7rjL
	 C9AZ47s7UL3LmxE0fgG7oyyaQPbWVHyoqfreFcFWR00t8JhjdCegBF7bQTrBJu4qnmg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792482626;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=aj9CdbUCldx2gcYOrVi6loEUg6OKj3IJyLv5f0F4OfA=;
	b=ATUL0kFV//SHYkuyzFWJ5vJoWFGlwlryDy/VF486FSAlAJSeQ8C2EXtz1QVyPB6Ma2TQ
	 1XAo9Vw1o0aLC5gnenfFD6P51gxkxxNXReaYVxZBpZGrTfgC3kFlVpS0R0BNc7mKAnvbO
	 Fh/rQanWfdg+qg4uHMIVRVbMpKXEa9RW5MltmTVuz/24DO7IrIQADIbPnjWgdhyIHq2lv
	 NMXBlN/BX+uB5bqKdCkdmU9sevyq6DI7WKROzF/eHIKfW41kwSMgP4mYkawZvAE3V7euy
	 51wdSfOWKrhfRmRhksHV09eu9TIyYSUAFIkDhgbsa3nAl9S6uScGPS1g63jNWyhISzQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cQ85VuFY;
	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 8F854606A321;
	Tue, 20 Oct 2026 07:50:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cQ85VuFY
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792482615;
	b=ICSo0+gisboTvJUc+EzWebhfGnq4VE4UWnKauD3+G/vJx4T1zm/q9zD5lrcVva1Cd2j9
	 GUByWWwK27rC4/WF+ZAEfC3hTqJnZM8uiHXfE3yvSY1fL78fHQt2GPpBzaZEYps83Dgbx
	 M9lE0QTHfPso2zCTZOxMo+tY+8AS4tbl2KFLN2H7DyTUuLwSaDVoTgvjHxN37LUb+EBYk
	 7o5nGGXV/UplRcdm5rzS9OBR7+7gbe9jZN0xV880XtZdMRNJ1mYuk4p7BommadRqv4ETS
	 /oOyMU5/8GMUXjPSSlb4KNrH6P6HBsYqYFFAktrme1K7AHkdNOfNIxRRyarNgKPRIOA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792482615;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=aj9CdbUCldx2gcYOrVi6loEUg6OKj3IJyLv5f0F4OfA=;
	b=sT8raBW8i6Xw3REl4nxQPzmhJhzUVSqauOCpHKHY+MVlncN17cVINkIWuegCi+K6vc4N
	 9enkFUl6EUYlaJKLYDS1cpNAXmcJr1mU+sVdY0g5B2oAe3xNh9AT50eYGAxk7lXxiGCls
	 Z2d8xFv4+GUvUSTw5mz9FMCAVqS7oC/uCCv7WbsKYQkZP/LWeQY0vgXt3LmilY424yrSS
	 mZmP6bo1vyvz08+iL+HvXbzPWmEVmfb/SO5gkAalgv3RZf6zOVofCpXJ2B1F8oZIMrdng
	 TMqhm08Opp0AuH1Rpq3cNZ4gbELZEPHKMHYQPxtjHdWckVZcROww1IpD0SSUIINnaOg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cQ85VuFY;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(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 6BC9C606A319;
	Tue, 20 Oct 2026 07:50:15 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 084BC1F000C4;
	Tue, 20 Oct 2026 07:50:15 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792482615;
	bh=aj9CdbUCldx2gcYOrVi6loEUg6OKj3IJyLv5f0F4OfA=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=cQ85VuFYm0aDwNjIgJsBjUS9GEmSSn07zHUJJRF+Ra+0U4wgO3vjcfGYJk14QqooQ
	 Ns5R7Seu/MgBw1S6shCFnxMfmPbLVqmvBqZhKw1kZVACrwvl0PkZ1Wzu6o7F0KEvzz
	 rX2JeoGA17/x2hNhcV/jKkVXXt5VpHeATvLFXVjOjFADYl+fCRM491USNbPJzmfGyK
	 b39AxtS4QzXwGAWeWootrar5CCMjkLGnAVxIBjsgNUMwUw339m5eu4K/lgFMR1BaQX
	 cdsDQqU3SrG0IiNYz4fOgMxGH+9Z7OcBM1aLun5Xm3b8KWtpOb4G8eUvW3jFq9Qlry
	 qf52dHaWnB6XA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F14623924FDE;
	Tue, 20 Oct 2026 07:50:14 +0000 (UTC)
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: <20261013-macb-context-v11-0-b27785167566@bootlin.com>
X-Cc: conor.dooley@microchip.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 richardcochran@gmail.com, linux@armlinux.org.uk, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, pvalerio@redhat.com, nb@tipi-net.de,
 vladimir.kondratiev@mobileye.com, gregory.clement@bootlin.com,
 benoit.monin@bootlin.com, tawfik.bayouk@mobileye.com,
 thomas.petazzoni@bootlin.com, stable+noautosel@kernel.org,
 sashiko-bot@kernel.org