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

otx2_cpt_devlink.h (441B)


      1/* SPDX-License-Identifier: GPL-2.0-only
      2 * Copyright (C) 2021 Marvell.
      3 */
      4
      5#ifndef __OTX2_CPT_DEVLINK_H
      6#define __OTX2_CPT_DEVLINK_H
      7
      8#include "otx2_cpt_common.h"
      9#include "otx2_cptpf.h"
     10
     11struct otx2_cpt_devlink {
     12	struct devlink *dl;
     13	struct otx2_cptpf_dev *cptpf;
     14};
     15
     16/* Devlink APIs */
     17int otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf);
     18void otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf);
     19
     20#endif /* __OTX2_CPT_DEVLINK_H */