On Fri, 2014-04-04 at 16:48 -0400, Vlad Yasevich wrote: > 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] > CC: Jeff Kirsher <[email protected]> > Signed-off-by: Vlad Yasevich <[email protected]> > --- > drivers/net/ethernet/intel/e1000e/netdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks Vlad, I will add the patch to my queue.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------
_______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
