Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
crypto
/
qat
/
qat_common
/
adf_common_drv.h
diff --git
a/kernel/drivers/crypto/qat/qat_common/adf_common_drv.h
b/kernel/drivers/crypto/qat/qat_common/adf_common_drv.h
index
3f76bd4
..
aa1dbea
100644
(file)
--- a/
kernel/drivers/crypto/qat/qat_common/adf_common_drv.h
+++ b/
kernel/drivers/crypto/qat/qat_common/adf_common_drv.h
@@
-227,6
+227,8
@@
void adf_disable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,
uint32_t vf_mask);
void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,
uint32_t vf_mask);
uint32_t vf_mask);
void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,
uint32_t vf_mask);
+int adf_init_pf_wq(void);
+void adf_exit_pf_wq(void);
#else
static inline int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
{
#else
static inline int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
{
@@
-236,5
+238,14
@@
static inline int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
static inline void adf_disable_sriov(struct adf_accel_dev *accel_dev)
{
}
static inline void adf_disable_sriov(struct adf_accel_dev *accel_dev)
{
}
+
+static inline int adf_init_pf_wq(void)
+{
+ return 0;
+}
+
+static inline void adf_exit_pf_wq(void)
+{
+}
#endif
#endif
#endif
#endif