ef100_tx.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /****************************************************************************
  3. * Driver for Solarflare network controllers and boards
  4. * Copyright 2019 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. #ifndef EFX_EF100_TX_H
  12. #define EFX_EF100_TX_H
  13. #include "net_driver.h"
  14. #include "ef100_rep.h"
  15. int ef100_tx_probe(struct efx_tx_queue *tx_queue);
  16. void ef100_tx_init(struct efx_tx_queue *tx_queue);
  17. void ef100_tx_write(struct efx_tx_queue *tx_queue);
  18. unsigned int ef100_tx_max_skb_descs(struct efx_nic *efx);
  19. int ef100_ev_tx(struct efx_channel *channel, const efx_qword_t *p_event);
  20. netdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
  21. int __ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
  22. struct efx_rep *efv);
  23. #endif