https://github.com/torvalds/linux
Revision d9b9e860cef1d904832bc6e92e444adfeabe49e9 authored by Michal Schmidt on 28 April 2015, 09:34:21 UTC, committed by David S. Miller on 29 April 2015, 18:48:35 UTC
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 <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 3f300ff
History
Tip revision: d9b9e860cef1d904832bc6e92e444adfeabe49e9 authored by Michal Schmidt on 28 April 2015, 09:34:21 UTC
bnx2x: mark LRO as a fixed disabled feature if disable_tpa is set
Tip revision: d9b9e86
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.5 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 301.9 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top