public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: airoha_eth: increase max mtu to 9220 for DSA jumbo frames
@ 2026-01-15  8:48 Sayantan Nandy
  2026-01-15 13:40 ` Lorenzo Bianconi
  2026-01-15 17:41 ` Andrew Lunn
  0 siblings, 2 replies; 10+ messages in thread
From: Sayantan Nandy @ 2026-01-15  8:48 UTC (permalink / raw)
  To: lorenzo
  Cc: linux-arm-kernel, linux-mediatek, netdev, sayantan.nandy,
	bread.hsu, kuldeep.malik, aniket.negi, rajeev.kumar,
	Sayantan Nandy

The Industry standard for jumbo frame MTU is 9216 bytes. When using DSA
sub-system, an extra 4 byte tag is added to each frame. To allow users
to set the standard 9216-byte MTU via ifconfig,increase AIROHA_MAX_MTU
to 9220 bytes (9216+4).

Signed-off-by: Sayantan Nandy <sayantann11@gmail.com>
---
 drivers/net/ethernet/airoha/airoha_eth.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/airoha/airoha_eth.h b/drivers/net/ethernet/airoha/airoha_eth.h
index fbbc58133364..20e602d61e61 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.h
+++ b/drivers/net/ethernet/airoha/airoha_eth.h
@@ -21,7 +21,7 @@
 #define AIROHA_MAX_NUM_IRQ_BANKS	4
 #define AIROHA_MAX_DSA_PORTS		7
 #define AIROHA_MAX_NUM_RSTS		3
-#define AIROHA_MAX_MTU			9216
+#define AIROHA_MAX_MTU			9220
 #define AIROHA_MAX_PACKET_SIZE		2048
 #define AIROHA_NUM_QOS_CHANNELS		4
 #define AIROHA_NUM_QOS_QUEUES		8
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-01-16 15:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15  8:48 [PATCH] net: airoha_eth: increase max mtu to 9220 for DSA jumbo frames Sayantan Nandy
2026-01-15 13:40 ` Lorenzo Bianconi
2026-01-16  3:05   ` Jakub Kicinski
2026-01-15 17:41 ` Andrew Lunn
2026-01-15 19:10   ` Benjamin Larsson
2026-01-16  1:08     ` Andrew Lunn
2026-01-16 10:48       ` Benjamin Larsson
2026-01-16 14:21         ` Andrew Lunn
     [not found]           ` <CADJVu8XP_wBudwOrT1OLhcZ3-9Qoci8FQzw+yyxnogiC2Asx5w@mail.gmail.com>
2026-01-16 14:56             ` Andrew Lunn
2026-01-16 15:05               ` Benjamin Larsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox