From: Michal Schmidt Date: Tue, 28 Apr 2015 09:34:21 +0000 (+0200) Subject: bnx2x: mark LRO as a fixed disabled feature if disable_tpa is set X-Git-Tag: omap-for-v4.2/omap1-v2~42^2~21^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b9e860cef1d904832bc6e92e444adfeabe49e9;p=pandora-kernel.git bnx2x: mark LRO as a fixed disabled feature if disable_tpa is set If disable_tpa is set, remove NETIF_F_LRO from hw_features, so ethtool sees it as "off [fixed]". Note that setting the NETIF_F_LRO bit in dev->features in the 'else' branch is not needed, because the bit was already set by bnx2x_init_dev(). Then the check for disable_tpa in in bnx2x_fix_features() becomes unnecessary. Signed-off-by: Michal Schmidt Signed-off-by: David S. Miller --- Reading git-diff-tree failed