[dpdk-dev] e1000: enable jumbo frame support for Intel 82583V

Message ID 1437556063-16075-1-git-send-email-kd@allegro-packets.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Klaus Degner July 22, 2015, 9:07 a.m. UTC
This patch enables jumbo frame support for the 82583V.
It has been tested ( rx and tx ) with real HW.

Signed-off-by: Klaus Degner <kd@allegro-packets.com>
---
 drivers/net/e1000/em_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Wenzhuo Lu July 23, 2015, 12:47 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Klaus Degner [mailto:kd@allegro-packets.com]
> Sent: Wednesday, July 22, 2015 5:08 PM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo; Klaus Degner
> Subject: [PATCH] e1000: enable jumbo frame support for Intel 82583V
> 
> This patch enables jumbo frame support for the 82583V.
> It has been tested ( rx and tx ) with real HW.
> 
> Signed-off-by: Klaus Degner <kd@allegro-packets.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
  
Thomas Monjalon July 26, 2015, 12:58 p.m. UTC | #2
> > This patch enables jumbo frame support for the 82583V.
> > It has been tested ( rx and tx ) with real HW.
> > 
> > Signed-off-by: Klaus Degner <kd@allegro-packets.com>
> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

Applied, thanks
  

Patch

diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index d8c04e7..07c75bb 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -893,11 +893,11 @@  em_get_max_pktlen(const struct e1000_hw *hw)
 	case e1000_pch2lan:
 	case e1000_82574:
 	case e1000_80003es2lan: /* 9K Jumbo Frame size */
+	case e1000_82583:
 		return (0x2412);
 	case e1000_pchlan:
 		return (0x1000);
 	/* Adapters that do not support jumbo frames */
-	case e1000_82583:
 	case e1000_ich8lan:
 		return (ETHER_MAX_LEN);
 	default: