From: Alexander Duyck Date: Wed, 9 Jan 2013 08:50:42 +0000 (+0000) Subject: ixgbe: Fix SR-IOV MTU warning X-Git-Tag: v3.9-rc1~139^2~157^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c560451c2009b94820460e06d3f7c258f7234948;p=pandora-kernel.git ixgbe: Fix SR-IOV MTU warning This change corrects the fact that we were using 1522 to test for the max frame size in ixgbe_change_mtu and 1518 in ixgbe_set_vf_lpe. The difference was the addition of VLAN_HLEN which we only need to add in the case of computing a buffer size, but not a filter size. Signed-off-by: Alexander Duyck Tested-by: Sibai Li Tested-by: Stephen Ko Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed