8139cp: reset BQL when ring tx ring cleared
authorstephen hemminger <stephen@networkplumber.org>
Mon, 20 May 2013 06:54:43 +0000 (06:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 21:02:35 +0000 (14:02 -0700)
commit98962baad72fd6d393bf39dbb7c2076532c363c6
tree461cfc5263a1c5f201e2785bdee4261ac658c9f7
parent4d12997a9bb3d217ad4b925ec3074ec89364bf95
8139cp: reset BQL when ring tx ring cleared

This patch cures transmit timeout's with DHCP observed
while running under KVM. When the transmit ring is cleaned out,
the Byte Queue Limit values need to be reset.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139cp.c