brintos

brintos / linux-shallow public Read only

0
0
Text · 792 B · d79340a Raw
25 lines · c
1/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */2/* Copyright(c) 2021 Intel Corporation */3#ifndef ADF_PFVF_VF_MSG_H4#define ADF_PFVF_VF_MSG_H5 6#if defined(CONFIG_PCI_IOV)7int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev);8void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev);9void adf_vf2pf_notify_restart_complete(struct adf_accel_dev *accel_dev);10int adf_vf2pf_request_version(struct adf_accel_dev *accel_dev);11int adf_vf2pf_get_capabilities(struct adf_accel_dev *accel_dev);12int adf_vf2pf_get_ring_to_svc(struct adf_accel_dev *accel_dev);13#else14static inline int adf_vf2pf_notify_init(struct adf_accel_dev *accel_dev)15{16	return 0;17}18 19static inline void adf_vf2pf_notify_shutdown(struct adf_accel_dev *accel_dev)20{21}22#endif23 24#endif /* ADF_PFVF_VF_MSG_H */25