* [PATCH net-next] r8169: increase max jumbo packet size on RTL8125/RTL8126
@ 2025-03-07 7:29 Heiner Kallweit
2025-03-10 6:36 ` Simon Horman
2025-03-10 20:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2025-03-07 7:29 UTC (permalink / raw)
To: Realtek linux nic maintainers, Andrew Lunn, Paolo Abeni,
Jakub Kicinski, David Miller, Eric Dumazet, Simon Horman
Cc: netdev@vger.kernel.org, Rui Salvaterra
Realtek confirmed that all RTL8125/RTL8126 chip versions support up to
16K jumbo packets. Reflect this in the driver.
Tested by Rui on RTL8125B with 12K jumbo packets.
Suggested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
drivers/net/ethernet/realtek/r8169_main.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index fa339bd8c..b18daeeda 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -89,6 +89,7 @@
#define JUMBO_6K (6 * SZ_1K - VLAN_ETH_HLEN - ETH_FCS_LEN)
#define JUMBO_7K (7 * SZ_1K - VLAN_ETH_HLEN - ETH_FCS_LEN)
#define JUMBO_9K (9 * SZ_1K - VLAN_ETH_HLEN - ETH_FCS_LEN)
+#define JUMBO_16K (SZ_16K - VLAN_ETH_HLEN - ETH_FCS_LEN)
static const struct {
const char *name;
@@ -5360,6 +5361,9 @@ static int rtl_jumbo_max(struct rtl8169_private *tp)
/* RTL8168c */
case RTL_GIGA_MAC_VER_18 ... RTL_GIGA_MAC_VER_24:
return JUMBO_6K;
+ /* RTL8125/8126 */
+ case RTL_GIGA_MAC_VER_61 ... RTL_GIGA_MAC_VER_71:
+ return JUMBO_16K;
default:
return JUMBO_9K;
}
--
2.48.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] r8169: increase max jumbo packet size on RTL8125/RTL8126
2025-03-07 7:29 [PATCH net-next] r8169: increase max jumbo packet size on RTL8125/RTL8126 Heiner Kallweit
@ 2025-03-10 6:36 ` Simon Horman
2025-03-10 20:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-03-10 6:36 UTC (permalink / raw)
To: Heiner Kallweit
Cc: Realtek linux nic maintainers, Andrew Lunn, Paolo Abeni,
Jakub Kicinski, David Miller, Eric Dumazet,
netdev@vger.kernel.org, Rui Salvaterra
On Fri, Mar 07, 2025 at 08:29:47AM +0100, Heiner Kallweit wrote:
> Realtek confirmed that all RTL8125/RTL8126 chip versions support up to
> 16K jumbo packets. Reflect this in the driver.
>
> Tested by Rui on RTL8125B with 12K jumbo packets.
>
> Suggested-by: Rui Salvaterra <rsalvaterra@gmail.com>
> Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] r8169: increase max jumbo packet size on RTL8125/RTL8126
2025-03-07 7:29 [PATCH net-next] r8169: increase max jumbo packet size on RTL8125/RTL8126 Heiner Kallweit
2025-03-10 6:36 ` Simon Horman
@ 2025-03-10 20:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-03-10 20:40 UTC (permalink / raw)
To: Heiner Kallweit
Cc: nic_swsd, andrew+netdev, pabeni, kuba, davem, edumazet, horms,
netdev, rsalvaterra
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 7 Mar 2025 08:29:47 +0100 you wrote:
> Realtek confirmed that all RTL8125/RTL8126 chip versions support up to
> 16K jumbo packets. Reflect this in the driver.
>
> Tested by Rui on RTL8125B with 12K jumbo packets.
>
> Suggested-by: Rui Salvaterra <rsalvaterra@gmail.com>
> Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
>
> [...]
Here is the summary with links:
- [net-next] r8169: increase max jumbo packet size on RTL8125/RTL8126
https://git.kernel.org/netdev/net-next/c/473367a5ffe1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-10 20:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07 7:29 [PATCH net-next] r8169: increase max jumbo packet size on RTL8125/RTL8126 Heiner Kallweit
2025-03-10 6:36 ` Simon Horman
2025-03-10 20:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).