1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2023-2024 Intel Corporation 4 */ 5 6 #ifndef _XE_PCI_SRIOV_H_ 7 #define _XE_PCI_SRIOV_H_ 8 9 struct pci_dev; 10 11 #ifdef CONFIG_PCI_IOV 12 int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs); 13 #else 14 static inline int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs) 15 { 16 return 0; 17 } 18 #endif 19 20 #endif 21