1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
9 #include <rte_interrupts.h>
11 #include "otx2_common.h"
14 /* 128 devices translate to two 64 bits dwords */
15 #define MAX_VFPF_DWORD_BITS 2
16 uint64_t bits[MAX_VFPF_DWORD_BITS];
19 int otx2_register_irq(struct rte_intr_handle *intr_handle,
20 rte_intr_callback_fn cb, void *data, unsigned int vec);
21 void otx2_unregister_irq(struct rte_intr_handle *intr_handle,
22 rte_intr_callback_fn cb, void *data, unsigned int vec);
23 int otx2_disable_irqs(struct rte_intr_handle *intr_handle);
25 #endif /* _OTX2_IRQ_H_ */