xref: /freebsd/sys/dev/qat/include/adf_gen4_pfvf.h (revision 71625ec9ad2a9bc8c09784fbd23b759830e0ee5f)
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
3 #ifndef ADF_GEN4_PFVF_H
4 #define ADF_GEN4_PFVF_H
5 
6 #include "adf_accel_devices.h"
7 
8 void adf_gen4_init_vf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
9 static inline void
adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops * pfvf_ops)10 adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops)
11 {
12 	pfvf_ops->enable_comms = adf_pfvf_comms_disabled;
13 }
14 
15 #endif /* ADF_GEN4_PFVF_H */
16