igb: Update MTU so that it is always at least a standard frame size
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 16 Jul 2013 00:20:34 +0000 (00:20 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 22 Aug 2013 09:25:49 +0000 (02:25 -0700)
commit2ccd994c4c85a787ba4873f1481edd42c4ff46bf
treec67dbab539f0c5c5818cd230a60af68f8dd3faac
parent502671967403c611b362836aef8cdee65e9a626a
igb: Update MTU so that it is always at least a standard frame size

This change makes it so that we limit the lower bound for max_frame_size to
the size of a standard Ethernet frame.  This allows for feature parity with
other Intel based drivers such as ixgbe.

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_main.c