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)
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