Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.18 21 lines 587 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NITROX_ISR_H 3#define __NITROX_ISR_H 4 5#include "nitrox_dev.h" 6 7int nitrox_register_interrupts(struct nitrox_device *ndev); 8void nitrox_unregister_interrupts(struct nitrox_device *ndev); 9int nitrox_sriov_register_interupts(struct nitrox_device *ndev); 10void nitrox_sriov_unregister_interrupts(struct nitrox_device *ndev); 11 12#ifdef CONFIG_PCI_IOV 13int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs); 14#else 15static inline int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) 16{ 17 return 0; 18} 19#endif 20 21#endif /* __NITROX_ISR_H */