ionic_devlink.h 521 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
  3. #ifndef _IONIC_DEVLINK_H_
  4. #define _IONIC_DEVLINK_H_
  5. #include <net/devlink.h>
  6. int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw,
  7. struct netlink_ext_ack *extack);
  8. struct ionic *ionic_devlink_alloc(struct device *dev);
  9. void ionic_devlink_free(struct ionic *ionic);
  10. int ionic_devlink_register(struct ionic *ionic);
  11. void ionic_devlink_unregister(struct ionic *ionic);
  12. #endif /* _IONIC_DEVLINK_H_ */