f-stack/dpdk/drivers/net/bnxt/bnxt_irq.h

25 lines
538 B
C
Raw Normal View History

2019-06-25 11:12:58 +00:00
/* SPDX-License-Identifier: BSD-3-Clause
2022-09-06 04:00:10 +00:00
* Copyright(c) 2014-2021 Broadcom
2019-06-25 11:12:58 +00:00
* All rights reserved.
2017-04-21 10:43:26 +00:00
*/
#ifndef _BNXT_IRQ_H_
#define _BNXT_IRQ_H_
2017-04-21 10:43:26 +00:00
struct bnxt_irq {
rte_intr_callback_fn handler;
2022-09-06 04:00:10 +00:00
unsigned int vector_idx;
uint8_t requested;
char name[RTE_ETH_NAME_MAX_LEN + 2];
};
struct bnxt;
2019-11-23 08:13:38 +00:00
int bnxt_free_int(struct bnxt *bp);
void bnxt_disable_int(struct bnxt *bp);
void bnxt_enable_int(struct bnxt *bp);
int bnxt_setup_int(struct bnxt *bp);
int bnxt_request_int(struct bnxt *bp);
2020-06-18 16:55:50 +00:00
void bnxt_int_handler(void *param);
2017-04-21 10:43:26 +00:00
#endif