]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: Update max_frame_size to account for an optional VLAN tag if present
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:43:32 +0000 (07:43 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 08:23:52 +0000 (16:23 +0800)
commit795acc7eea056ffcc431c4e7b2e1695a06a0101b
treee944d32aec95e366855c8e722a8b14804ecdda9e
parent0fc9655f0fa5d7e86310b764af1213551fa59d29
igb: Update max_frame_size to account for an optional VLAN tag if present

This patch modifies the max_frame_size in order account for an optional
VLAN tag.  In order to support this we must also increase the
MAX_STD_JUMBO_FRAME_SIZE to account for the 4 extra bytes.

(cherry picked from commit 153285f9ce88b2d37e29a351dfcf7601ff274c69)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c