bnxt_xdp.h 606 B

12345678910111213141516171819
  1. /* Broadcom NetXtreme-C/E network driver.
  2. *
  3. * Copyright (c) 2016-2017 Broadcom Limited
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation.
  8. */
  9. #ifndef BNXT_XDP_H
  10. #define BNXT_XDP_H
  11. void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts);
  12. bool bnxt_rx_xdp(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons,
  13. struct page *page, u8 **data_ptr, unsigned int *len,
  14. u8 *event);
  15. int bnxt_xdp(struct net_device *dev, struct netdev_xdp *xdp);
  16. #endif