xref: /linux/drivers/net/ethernet/sfc/ef100_netdev.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /****************************************************************************
3  * Driver for Solarflare network controllers and boards
4  * Copyright 2018 Solarflare Communications Inc.
5  * Copyright 2019-2020 Xilinx Inc.
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License version 2 as published
9  * by the Free Software Foundation, incorporated herein by reference.
10  */
11 
12 #include <linux/netdevice.h>
13 #include "ef100_rep.h"
14 
15 netdev_tx_t __ef100_hard_start_xmit(struct sk_buff *skb,
16 				    struct efx_nic *efx,
17 				    struct net_device *net_dev,
18 				    struct efx_rep *efv);
19 int ef100_netdev_event(struct notifier_block *this,
20 		       unsigned long event, void *ptr);
21 int ef100_probe_netdev(struct efx_probe_data *probe_data);
22 void ef100_remove_netdev(struct efx_probe_data *probe_data);
23