replace pci_enable_msix_exact() with pci_alloc_irq_vectors(). get the required vector count from pci_msix_vec_count(). use struct nitrox_q_vector as the argument to tasklets. Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com> Reviewed-by: Gadam Sreerama <sgadam@cavium.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
11 lines
263 B
C
11 lines
263 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NITROX_ISR_H
|
|
#define __NITROX_ISR_H
|
|
|
|
#include "nitrox_dev.h"
|
|
|
|
int nitrox_register_interrupts(struct nitrox_device *ndev);
|
|
void nitrox_unregister_interrupts(struct nitrox_device *ndev);
|
|
|
|
#endif /* __NITROX_ISR_H */
|