ef100_netdev.h 910 B

12345678910111213141516171819202122
  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. #include <linux/netdevice.h>
  12. #include "ef100_rep.h"
  13. netdev_tx_t __ef100_hard_start_xmit(struct sk_buff *skb,
  14. struct efx_nic *efx,
  15. struct net_device *net_dev,
  16. struct efx_rep *efv);
  17. int ef100_netdev_event(struct notifier_block *this,
  18. unsigned long event, void *ptr);
  19. int ef100_probe_netdev(struct efx_probe_data *probe_data);
  20. void ef100_remove_netdev(struct efx_probe_data *probe_data);