18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright(c) 2017 - 2019 Pensando Systems, Inc */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef _IONIC_DEVLINK_H_ 58c2ecf20Sopenharmony_ci#define _IONIC_DEVLINK_H_ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <net/devlink.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciint ionic_firmware_update(struct ionic_lif *lif, const char *fw_name, 108c2ecf20Sopenharmony_ci struct netlink_ext_ack *extack); 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cistruct ionic *ionic_devlink_alloc(struct device *dev); 138c2ecf20Sopenharmony_civoid ionic_devlink_free(struct ionic *ionic); 148c2ecf20Sopenharmony_ciint ionic_devlink_register(struct ionic *ionic); 158c2ecf20Sopenharmony_civoid ionic_devlink_unregister(struct ionic *ionic); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif /* _IONIC_DEVLINK_H_ */ 18