linux_dsm_epyc7002/drivers/net/ethernet/intel
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
..
e1000 e1000: remove open-coded skb_cow_head 2014-04-11 05:58:07 -07:00
e1000e e1000e: Correctly include VLAN_HLEN when changing interface MTU 2014-04-18 18:03:40 -07:00
i40e i40e: fix TCP flag replication for hardware offload 2014-04-18 17:42:45 -07:00
i40evf i40evf: program RSS LUT correctly 2014-04-11 06:23:25 -07:00
igb igb: fix last_rx_timestamp usage 2014-04-11 05:58:08 -07:00
igbvf igbvf: remove open-coded skb_cow_head 2014-04-11 05:58:09 -07:00
ixgb ixgb: remove open-coded skb_cow_head 2014-04-11 06:08:46 -07:00
ixgbe ixgbe: remove open-coded skb_cow_head 2014-04-11 05:58:06 -07:00
ixgbevf ixgbevf: remove open-coded skb_cow_head 2014-04-11 05:58:06 -07:00
e100.c e100: Convert uses of __constant_<foo> to <foo> 2014-03-19 21:46:36 -07:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00