linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c

// SPDX-License-Identifier: GPL-2.0+
/* Copyright (c) 2021 Hisilicon Limited. */

#include <net/devlink.h>

#include "hclge_devlink.h"

static int hclge_devlink_scc_info_get(struct devlink *devlink,
				      struct devlink_info_req *req)
{}

static int hclge_devlink_info_get(struct devlink *devlink,
				  struct devlink_info_req *req,
				  struct netlink_ext_ack *extack)
{}

static int hclge_devlink_reload_down(struct devlink *devlink, bool netns_change,
				     enum devlink_reload_action action,
				     enum devlink_reload_limit limit,
				     struct netlink_ext_ack *extack)
{}

static int hclge_devlink_reload_up(struct devlink *devlink,
				   enum devlink_reload_action action,
				   enum devlink_reload_limit limit,
				   u32 *actions_performed,
				   struct netlink_ext_ack *extack)
{}

static const struct devlink_ops hclge_devlink_ops =;

int hclge_devlink_init(struct hclge_dev *hdev)
{}

void hclge_devlink_uninit(struct hclge_dev *hdev)
{}