• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
3 
4 #ifndef _IONIC_DEVLINK_H_
5 #define _IONIC_DEVLINK_H_
6 
7 #include <net/devlink.h>
8 
9 int ionic_firmware_update(struct ionic_lif *lif, const char *fw_name,
10 			  struct netlink_ext_ack *extack);
11 
12 struct ionic *ionic_devlink_alloc(struct device *dev);
13 void ionic_devlink_free(struct ionic *ionic);
14 int ionic_devlink_register(struct ionic *ionic);
15 void ionic_devlink_unregister(struct ionic *ionic);
16 
17 #endif /* _IONIC_DEVLINK_H_ */
18