1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* Marvell/Qlogic FastLinQ NIC driver
4 * Copyright (C) 2020 Marvell International Ltd.
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
);