nfp: flush xmit_more on error paths
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 22 Mar 2017 00:59:19 +0000 (17:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:59:09 +0000 (12:59 -0700)
commit28b0cfee7b1b62ea214ebc50be5d5a92cbc30d42
tree2f2fd389db03ac9164e9a88e6626fa26bf7b521a
parent83d08a1d746522c3286c2f52608bea0f79c0e9df
nfp: flush xmit_more on error paths

In case of ring full or DMA mapping error remember to flush xmit_more
delayed kicks.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c