linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_devlink.c

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

#include <net/devlink.h>

#include "hclgevf_devlink.h"

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

static int hclgevf_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 hclgevf_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 hclgevf_devlink_ops =;

int hclgevf_devlink_init(struct hclgevf_dev *hdev)
{}

void hclgevf_devlink_uninit(struct hclgevf_dev *hdev)
{}