xref: /linux/drivers/net/ethernet/aquantia/atlantic/aq_main.h (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * aQuantia Corporation Network Driver
4  * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
5  */
6 
7 /* File aq_main.h: Main file for aQuantia Linux driver. */
8 
9 #ifndef AQ_MAIN_H
10 #define AQ_MAIN_H
11 
12 #include "aq_common.h"
13 #include "aq_nic.h"
14 
15 DECLARE_STATIC_KEY_FALSE(aq_xdp_locking_key);
16 
17 void aq_ndev_schedule_work(struct work_struct *work);
18 struct net_device *aq_ndev_alloc(void);
19 int aq_ndev_open(struct net_device *ndev);
20 int aq_ndev_close(struct net_device *ndev);
21 
22 #endif /* AQ_MAIN_H */
23