aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2014-04-17 14:51:08 +0200
committerShow Liu <show.liu@linaro.org>2014-06-18 12:03:53 +0800
commitcfeb3b03a88056bbcb1c03dcd065693565f98130 (patch)
treed8f93309d71f5fa31682a1e9af4dbf1d95f08346 /include
parent5aa7a9a799250ce9291ce879e40a85826284e6ac (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions