Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / net / ethernet / qlogic / qed / qed_devlink.h
blobccc7d1d1bfd4a961e5906fad6efcb2b7d7c55503
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* Marvell/Qlogic FastLinQ NIC driver
4 * Copyright (C) 2020 Marvell International Ltd.
5 */
6 #ifndef _QED_DEVLINK_H
7 #define _QED_DEVLINK_H
9 #include <linux/qed/qed_if.h>
10 #include <net/devlink.h>
12 struct devlink *qed_devlink_register(struct qed_dev *cdev);
13 void qed_devlink_unregister(struct devlink *devlink);
15 void qed_fw_reporters_create(struct devlink *devlink);
16 void qed_fw_reporters_destroy(struct devlink *devlink);
18 int qed_report_fatal_error(struct devlink *dl, enum qed_hw_err_type err_type);
20 #endif