linux/drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c

// SPDX-License-Identifier: GPL-2.0
/* Marvell RVU Ethernet driver
 *
 * Copyright (C) 2021 Marvell.
 *
 */

#include "otx2_common.h"

static int otx2_check_pfc_config(struct otx2_nic *pfvf)
{}

int otx2_pfc_txschq_config(struct otx2_nic *pfvf)
{}
EXPORT_SYMBOL();

static int otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio)
{}

int otx2_pfc_txschq_alloc(struct otx2_nic *pfvf)
{}
EXPORT_SYMBOL();

static int otx2_pfc_txschq_stop_one(struct otx2_nic *pfvf, u8 prio)
{}

static int otx2_pfc_update_sq_smq_mapping(struct otx2_nic *pfvf, int prio)
{}

int otx2_pfc_txschq_update(struct otx2_nic *pfvf)
{}
EXPORT_SYMBOL();

int otx2_pfc_txschq_stop(struct otx2_nic *pfvf)
{}
EXPORT_SYMBOL();

int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf)
{}
EXPORT_SYMBOL();

void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx,
			       bool pfc_enable)
{}
EXPORT_SYMBOL();

static int otx2_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc)
{}

static int otx2_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc)
{}

static u8 otx2_dcbnl_getdcbx(struct net_device __always_unused *dev)
{}

static u8 otx2_dcbnl_setdcbx(struct net_device __always_unused *dev, u8 mode)
{}

static const struct dcbnl_rtnl_ops otx2_dcbnl_ops =;

int otx2_dcbnl_set_ops(struct net_device *dev)
{}
EXPORT_SYMBOL();