summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnge/bnge_devlink.h
blob: c6575255e6508c0cff55d55cca154086a28a2dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2025 Broadcom */

#ifndef _BNGE_DEVLINK_H_
#define _BNGE_DEVLINK_H_

enum bnge_dl_version_type {
	BNGE_VERSION_FIXED,
	BNGE_VERSION_RUNNING,
	BNGE_VERSION_STORED,
};

void bnge_devlink_free(struct bnge_dev *bd);
struct bnge_dev *bnge_devlink_alloc(struct pci_dev *pdev);
void bnge_devlink_register(struct bnge_dev *bd);
void bnge_devlink_unregister(struct bnge_dev *bd);

#endif /* _BNGE_DEVLINK_H_ */