linux/drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c

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

#include "hnae3.h"
#include "hns3_enet.h"

static int hns3_dcbnl_ieee_getets(struct net_device *ndev, struct ieee_ets *ets)
{}

static int hns3_dcbnl_ieee_setets(struct net_device *ndev, struct ieee_ets *ets)
{}

static int hns3_dcbnl_ieee_getpfc(struct net_device *ndev, struct ieee_pfc *pfc)
{}

static int hns3_dcbnl_ieee_setpfc(struct net_device *ndev, struct ieee_pfc *pfc)
{}

static int hns3_dcbnl_ieee_setapp(struct net_device *ndev, struct dcb_app *app)
{}

static int hns3_dcbnl_ieee_delapp(struct net_device *ndev, struct dcb_app *app)
{}

/* DCBX configuration */
static u8 hns3_dcbnl_getdcbx(struct net_device *ndev)
{}

/* return 0 if successful, otherwise fail */
static u8 hns3_dcbnl_setdcbx(struct net_device *ndev, u8 mode)
{}

static const struct dcbnl_rtnl_ops hns3_dcbnl_ops =;

/* hclge_dcbnl_setup - DCBNL setup
 * @handle: the corresponding vport handle
 * Set up DCBNL
 */
void hns3_dcbnl_setup(struct hnae3_handle *handle)
{}