git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93f4e3
)
e1000: enable jumbo frame for 82583V device
author
Klaus Degner
<kd@allegro-packets.com>
Wed, 22 Jul 2015 09:07:43 +0000
(11:07 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Sun, 26 Jul 2015 12:57:41 +0000
(14:57 +0200)
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>
drivers/net/e1000/em_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000/em_ethdev.c
b/drivers/net/e1000/em_ethdev.c
index
d8c04e7
..
07c75bb
100644
(file)
--- 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: