tg3: Add skb->xmit_more support
authorPrashant Sreedharan <prashant@broadcom.com>
Mon, 13 Oct 2014 16:21:42 +0000 (09:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 19:59:37 +0000 (15:59 -0400)
commit2c7c9ea429ba30fe506747b7da110e2212d8fefa
tree1df0acea19971b65dfc9b963b7ed99467e930dad
parentf76936d07c4eeb36d8dbb64ebd30ab46ff85d9f7
tg3: Add skb->xmit_more support

Ring TX doorbell only if xmit_more is not set or the queue is stopped.

Suggested-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Prashant Sreedharan <prashant@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c