aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2020-03-27 20:14:45 -0700
committerDavid S. Miller <davem@davemloft.net>2020-03-30 11:40:50 -0700
commitf9c00e2cf258d215a1ed2a7b2ae5b91ac2f29582 (patch)
treef847f99aff1452160ce524c8e03114cd5a91cf2e /drivers/net/ethernet/pensando/ionic/ionic_txrx.h
parentionic: move irq request to qcq alloc (diff)
downloadlinux-dev-f9c00e2cf258d215a1ed2a7b2ae5b91ac2f29582.tar.xz
linux-dev-f9c00e2cf258d215a1ed2a7b2ae5b91ac2f29582.zip
ionic: clean tx queue of unfinished requests
Clean out tx requests that didn't get finished before shutting down the queue. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_txrx.h')
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_txrx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_txrx.h b/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
index 53775c62c85a..71973e3c35a6 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
+++ b/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
@@ -9,6 +9,7 @@ void ionic_tx_flush(struct ionic_cq *cq);
void ionic_rx_fill(struct ionic_queue *q);
void ionic_rx_empty(struct ionic_queue *q);
+void ionic_tx_empty(struct ionic_queue *q);
int ionic_rx_napi(struct napi_struct *napi, int budget);
netdev_tx_t ionic_start_xmit(struct sk_buff *skb, struct net_device *netdev);