Star64_linux/drivers/net/ethernet/intel/e1000e
Vlad Yasevich c751a3d58c e1000e: Correctly include VLAN_HLEN when changing interface MTU
When changing the interface mtu, the driver starts with a value
that doesn't include VLAN_HLEN.  Later tests in the driver
set the rx_buffer_len based on the mtu.  As a result, when
the user increases the mtu to 1504 (to support 802.1AD for example),
the driver rx_buffer_len does not change and frames longer
the 1522 bytes are rejected as too long.

Include VLAN_HLEN from the start so that an user mtu greater then
1500 bytes is correctly reflected in the driver rx_buffer_len.

CC: e1000-devel@lists.sourceforge.net
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-04-18 18:03:40 -07:00
..
80003es2lan.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
80003es2lan.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
82571.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
82571.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
defines.h e1000e: Feature Enable PHY Ultra Low Power Mode (ULP) 2014-03-07 22:52:07 -08:00
e1000.h e1000e: add timeout for TX HW time stamping work 2014-03-28 06:54:01 -07:00
ethtool.c e1000e: add timeout for TX HW time stamping work 2014-03-28 06:54:01 -07:00
hw.h e1000e: Feature Enable PHY Ultra Low Power Mode (ULP) 2014-03-07 22:52:07 -08:00
ich8lan.c e1000e: Fix SHRA register access for 82579 2014-03-07 23:56:16 -08:00
ich8lan.h e1000e: Fix SHRA register access for 82579 2014-03-07 23:56:16 -08:00
mac.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
mac.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
Makefile e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
netdev.c e1000e: Correctly include VLAN_HLEN when changing interface MTU 2014-04-18 18:03:40 -07:00
nvm.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
nvm.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
param.c e1000e: Fix not generating an error on invalid load parameter 2014-03-07 23:06:41 -08:00
phy.c e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
phy.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
ptp.c ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
regs.h e1000e: Feature Enable PHY Ultra Low Power Mode (ULP) 2014-03-07 22:52:07 -08:00