ixgbe: flush when in xmit_more mode and under descriptor pressure
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 26 Aug 2014 17:34:18 +0000 (19:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Aug 2014 06:17:41 +0000 (23:17 -0700)
When xmit_more mode is being used and the ring is about to
become full or the stack has stopped the ring, enforce a tail
pointer write to the hw. Otherwise, we could risk a TX hang.

Code suggested by Alexander Duyck.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found