cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

adf_gen4_pfvf.h (444B)


      1/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
      2/* Copyright(c) 2021 Intel Corporation */
      3#ifndef ADF_GEN4_PFVF_H
      4#define ADF_GEN4_PFVF_H
      5
      6#include "adf_accel_devices.h"
      7
      8#ifdef CONFIG_PCI_IOV
      9void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
     10#else
     11static inline void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops)
     12{
     13	pfvf_ops->enable_comms = adf_pfvf_comms_disabled;
     14}
     15#endif
     16
     17#endif /* ADF_GEN4_PFVF_H */