Loading...
Note: File does not exist in v4.10.11.
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
9struct pci_dev;
10
11#ifdef CONFIG_PCI_IOV
12int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs);
13#else
14static inline int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs)
15{
16 return 0;
17}
18#endif
19
20#endif