]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Sep 2011 06:57:04 +0000 (23:57 -0700)
commit116a0bafc95954bc9a0ee61a1855be1e02584dbb
treeb199948023a6157885f1f765eeb002c96218c506
parent870d6c53779bcdb5da1d2b6c847dd27fff3a306f
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.

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>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c