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

qed_devlink.h (559B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/* Marvell/Qlogic FastLinQ NIC driver
      3 *
      4 * Copyright (C) 2020 Marvell International Ltd.
      5 */
      6#ifndef _QED_DEVLINK_H
      7#define _QED_DEVLINK_H
      8
      9#include <linux/qed/qed_if.h>
     10#include <net/devlink.h>
     11
     12struct devlink *qed_devlink_register(struct qed_dev *cdev);
     13void qed_devlink_unregister(struct devlink *devlink);
     14
     15void qed_fw_reporters_create(struct devlink *devlink);
     16void qed_fw_reporters_destroy(struct devlink *devlink);
     17
     18int qed_report_fatal_error(struct devlink *dl, enum qed_hw_err_type err_type);
     19
     20#endif