summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2021-04-01 19:56:07 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-02 23:18:33 +0200
commita8771bfe05549f3068532c60e3682441ff8159fd (patch)
treeca64dae313f5e7aa61b5b241e12284ccb1bf5219 /drivers/net/ethernet/pensando/ionic/ionic_txrx.h
parentionic: set up hw timestamp queues (diff)
downloadlinux-a8771bfe05549f3068532c60e3682441ff8159fd.tar.xz
linux-a8771bfe05549f3068532c60e3682441ff8159fd.zip
ionic: add and enable tx and rx timestamp handling
The Tx and Rx timestamped packets are handled through separate queues. Here we set them up, service them, and tear them down along with the normal Tx and Rx queues. Signed-off-by: Allen Hubbe <allenbh@pensando.io> 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_txrx.h b/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
index 7667b72232b8..d7cbaad8a6fb 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
+++ b/drivers/net/ethernet/pensando/ionic/ionic_txrx.h
@@ -14,4 +14,7 @@ int ionic_tx_napi(struct napi_struct *napi, int budget);
int ionic_txrx_napi(struct napi_struct *napi, int budget);
netdev_tx_t ionic_start_xmit(struct sk_buff *skb, struct net_device *netdev);
+bool ionic_rx_service(struct ionic_cq *cq, struct ionic_cq_info *cq_info);
+bool ionic_tx_service(struct ionic_cq *cq, struct ionic_cq_info *cq_info);
+
#endif /* _IONIC_TXRX_H_ */