]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
fm10k: Correct MTU for jumbo frames
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 25 Aug 2015 20:49:11 +0000 (13:49 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:57:19 +0000 (08:57 -0700)
commitdd3bb94fb424961858baab5fde884b76962cef06
treebf64db3aeb273b8198c1a4ce25c6391cd420a656
parent0edb864326dc678ae3992dec6fe4a0c15cada0a2
fm10k: Correct MTU for jumbo frames

BugLink: http://bugs.launchpad.net/bugs/1536475
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.

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 8c7ee6d2cacc7794a91875ef5fd8284b4a900d8c)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/fm10k/fm10k.h