summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2014-04-17 16:51:08 +0400
committerJiri Slaby <jslaby@suse.cz>2014-05-29 13:49:16 +0400
commit6341e247c4ef83688fbdb8b30a3ddfe1e4e40703 (patch)
tree0016be736a1d0ab244bcac94e00cf88b9280ecb1 /include/net
parent059590c8e26afc293aa92d64964038ed35abca3e (diff)
downloadlinux-6341e247c4ef83688fbdb8b30a3ddfe1e4e40703.tar.xz
tg3: update rx_jumbo_pending ring param only when jumbo frames are enabled
The patch fixes a problem with dropped jumbo frames after usage of 'ethtool -G ... rx'. Scenario: 1. ip link set eth0 up 2. ethtool -G eth0 rx N # <- This zeroes rx-jumbo 3. ip link set mtu 9000 dev eth0 The ethtool command set rx_jumbo_pending to zero so any received jumbo packets are dropped and you need to use 'ethtool -G eth0 rx-jumbo N' to workaround the issue. The patch changes the logic so rx_jumbo_pending value is changed only if jumbo frames are enabled (MTU > 1500). Signed-off-by: Ivan Vecera <ivecera@redhat.com> Acked-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions