diff options
| author | Vlad Yasevich <[email protected]> | 2014-04-05 06:25:26 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-04-19 01:03:40 +0000 |
| commit | c751a3d58cf2dae89ec941a259025b0175d67b0c (patch) | |
| tree | 825113aa4f97c66a68e84c02da05f05be6363b80 /drivers/net/ethernet/intel/igb/igb_main.c | |
| parent | i40e: fix TCP flag replication for hardware offload (diff) | |
| download | kernel-c751a3d58cf2dae89ec941a259025b0175d67b0c.tar.gz kernel-c751a3d58cf2dae89ec941a259025b0175d67b0c.zip | |
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: [email protected]
Signed-off-by: Vlad Yasevich <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb_main.c')
0 files changed, 0 insertions, 0 deletions
