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:
ecab0e4
)
net/e1000/base: define max Rx jumbo frame size
author
Wenzhuo Lu
<wenzhuo.lu@intel.com>
Wed, 23 Nov 2016 17:22:50 +0000
(12:22 -0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:36:48 +0000
(19:36 +0100)
Add definition MAX_RX_JUMBO_FRAME_SIZE for igb.
All igb parts (82575 and newer) have 9.5K max jumbo frame size.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/base/e1000_defines.h
patch
|
blob
|
history
diff --git
a/drivers/net/e1000/base/e1000_defines.h
b/drivers/net/e1000/base/e1000_defines.h
index
69aa1f2
..
7d70ba6
100644
(file)
--- a/
drivers/net/e1000/base/e1000_defines.h
+++ b/
drivers/net/e1000/base/e1000_defines.h
@@
-468,6
+468,8
@@
POSSIBILITY OF SUCH DAMAGE.
#define ETHERNET_FCS_SIZE 4
#define MAX_JUMBO_FRAME_SIZE 0x3F00
+/* The datasheet maximum supported RX size is 9.5KB (9728 bytes) */
+#define MAX_RX_JUMBO_FRAME_SIZE 0x2600
#define E1000_TX_PTR_GAP 0x1F
/* Extended Configuration Control and Size */