enic: support skb->xmit_more
authorGovindarajulu Varadarajan <_govind@gmx.com>
Wed, 19 Nov 2014 07:29:32 +0000 (12:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 17:17:54 +0000 (12:17 -0500)
commitf8e34d246c7d89e13399b410f92234acd2f7411a
treea761fe599db9b9095f96656ddc949160f761e9ab
parent3819ffdff70da4c0d3bab0f8becabfc6936a230c
enic: support skb->xmit_more

Check and update posted_index only when skb->xmit_more is 0 or tx queue is full.

v2:
use txq_map instead of skb_get_queue_mapping(skb)

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c
drivers/net/ethernet/cisco/enic/vnic_wq.h