fm10k: Correct MTU for jumbo frames
Subsystems (2)
PATCH v2 1/1 fm10k: Correct MTU for jumbo frames
Based on hardware testing, the host interface supports up to 15368 bytes as the maximum frame size. To determine the correct MTU, we subtract 8 for the internal switch tag, 14 for the L2 header, and 4 for the appended FCS header, resulting in 15342 bytes of payload for our maximum MTU on jumbo frames.
--- drivers/net/ethernet/intel/fm10k/fm10k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/fm10k/fm10k.h +1 -1
@@ -33,7 +33,7 @@#include "fm10k_pf.h" #include "fm10k_vf.h" -#define FM10K_MAX_JUMBO_FRAME_SIZE 15358/* Maximum supported size 15K */ +#define FM10K_MAX_JUMBO_FRAME_SIZE 15342/* Maximum supported size 15K */ #define MAX_QUEUES FM10K_MAX_QUEUES_PF
Signature · 1 line
2.5.0.280.g4aaba03
Allan
PATCH v2 1/1 fm10k: Correct MTU for jumbo frames
Quoted 14 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob Keller
Sent: Tuesday, August 25, 2015 1:49 PM
To: Intel Wired LAN
Subject: [Intel-wired-lan] [next-queue v2] fm10k: Correct MTU for jumbo framesBased on hardware testing, the host interface supports up to 15368 bytes as the maximum frame size. To determine the correct MTU, we subtract 8 for the internal switch tag, 14 for the L2 header, and 4 for the appended FCS header, resulting in 15342 bytes of payload for our maximum MTU on jumbo frames.
Quoted 5 lines
Signed-off-by Matthew Vick <[email protected]>Signed-off-by Jacob Keller <[email protected]>--- drivers/net/ethernet/intel/fm10k/fm10k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Singh
PATCH v2 1/1 fm10k: Correct MTU for jumbo frames
In reply to Jacob Keller-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob Keller
Sent: Tuesday, August 25, 2015 1:49 PM
To: Intel Wired LAN <[email protected]>
Subject: [Intel-wired-lan] [next-queue v2] fm10k: Correct MTU for jumbo frames
Based on hardware testing, the host interface supports up to 15368 bytes as the maximum frame size. To determine the correct MTU, we subtract 8 for the internal switch tag, 14 for the L2 header, and 4 for the appended FCS header, resulting in 15342 bytes of payload for our maximum MTU on jumbo frames.
---