From: Wenzhuo Lu Date: Wed, 23 Nov 2016 17:22:50 +0000 (-0500) Subject: net/e1000/base: define max Rx jumbo frame size X-Git-Tag: spdx-start~5113 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e181c962411e862313ab461e3a4689a9441e17fa;p=dpdk.git net/e1000/base: define max Rx jumbo frame size 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 --- diff --git a/drivers/net/e1000/base/e1000_defines.h b/drivers/net/e1000/base/e1000_defines.h index 69aa1f2303..7d70ba6bac 100644 --- 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 */