fm10k: Add skb->xmit_more support
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 10 Oct 2014 21:30:52 +0000 (14:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 17:09:14 +0000 (13:09 -0400)
commit2c2b2f0cb9388df8aa8b5036cf18060ac77e6d94
treef499f08d7d1ac43e6b86b21ca53a602749e9c287
parent5bc26726ada73264c0fd7b93ccbe7d9e78b2b2d2
fm10k: Add skb->xmit_more support

This change adds support for skb->xmit_more based on the changes that were
made to igb to support the feature.  The main changes are moving up the
check for maybe_stop_tx so that we can check netif_xmit_stopped to determine
if we must write the tail because we can add no further buffers.

Acked-by: Matthew Vick <matthew.vick@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/fm10k/fm10k_main.c