xref: /linux/drivers/net/ethernet/pensando/ionic/ionic_devlink.h (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1df69ba43SShannon Nelson /* SPDX-License-Identifier: GPL-2.0 */
2df69ba43SShannon Nelson /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
3df69ba43SShannon Nelson 
4df69ba43SShannon Nelson #ifndef _IONIC_DEVLINK_H_
5df69ba43SShannon Nelson #define _IONIC_DEVLINK_H_
6df69ba43SShannon Nelson 
7df69ba43SShannon Nelson #include <net/devlink.h>
8df69ba43SShannon Nelson 
9*b44cfd4fSJacob Keller int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw,
1030b5191aSShannon Nelson 			  struct netlink_ext_ack *extack);
1130b5191aSShannon Nelson 
12df69ba43SShannon Nelson struct ionic *ionic_devlink_alloc(struct device *dev);
13df69ba43SShannon Nelson void ionic_devlink_free(struct ionic *ionic);
14fbfb8031SShannon Nelson int ionic_devlink_register(struct ionic *ionic);
15fbfb8031SShannon Nelson void ionic_devlink_unregister(struct ionic *ionic);
16df69ba43SShannon Nelson 
17df69ba43SShannon Nelson #endif /* _IONIC_DEVLINK_H_ */
18