[PATCH v2 02/13] net/ionic: increase max supported MTU to 9750 bytes

Andrew Boyer andrew.boyer at amd.com
Wed Feb 7 03:18:38 CET 2024


Some configurations want to use values this high internally.
Allow them to do so without modifying the code.

Signed-off-by: Andrew Boyer <andrew.boyer at amd.com>
Signed-off-by: Bhuvan Mital <bhuvan.mital at amd.com>
---
 drivers/net/ionic/ionic_dev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ionic/ionic_dev.h b/drivers/net/ionic/ionic_dev.h
index b1e74fbd89..971c261b27 100644
--- a/drivers/net/ionic/ionic_dev.h
+++ b/drivers/net/ionic/ionic_dev.h
@@ -14,7 +14,7 @@
 #define VLAN_TAG_SIZE			4
 
 #define IONIC_MIN_MTU			RTE_ETHER_MIN_MTU
-#define IONIC_MAX_MTU			9378
+#define IONIC_MAX_MTU			9750
 #define IONIC_ETH_OVERHEAD		(RTE_ETHER_HDR_LEN + VLAN_TAG_SIZE)
 
 #define IONIC_MAX_RING_DESC		32768
-- 
2.17.1



More information about the dev mailing list