#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
#include <net/dcbnl.h>
#include "qede.h"
static u8 qede_dcbnl_getstate(struct net_device *netdev)
{ … }
static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state)
{ … }
static void qede_dcbnl_getpermhwaddr(struct net_device *netdev,
u8 *perm_addr)
{ … }
static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio,
u8 *prio_type, u8 *pgid, u8 *bw_pct,
u8 *up_map)
{ … }
static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev,
int pgid, u8 *bw_pct)
{ … }
static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio,
u8 *prio_type, u8 *pgid, u8 *bw_pct,
u8 *up_map)
{ … }
static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev,
int pgid, u8 *bw_pct)
{ … }
static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio,
u8 *setting)
{ … }
static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio,
u8 setting)
{ … }
static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap)
{ … }
static int qede_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num)
{ … }
static u8 qede_dcbnl_getpfcstate(struct net_device *netdev)
{ … }
static int qede_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id)
{ … }
static u8 qede_dcbnl_getdcbx(struct net_device *netdev)
{ … }
static void qede_dcbnl_setpgtccfgtx(struct net_device *netdev, int prio,
u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map)
{ … }
static void qede_dcbnl_setpgtccfgrx(struct net_device *netdev, int prio,
u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map)
{ … }
static void qede_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid,
u8 bw_pct)
{ … }
static void qede_dcbnl_setpgbwgcfgrx(struct net_device *netdev, int pgid,
u8 bw_pct)
{ … }
static u8 qede_dcbnl_setall(struct net_device *netdev)
{ … }
static int qede_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num)
{ … }
static void qede_dcbnl_setpfcstate(struct net_device *netdev, u8 state)
{ … }
static int qede_dcbnl_setapp(struct net_device *netdev, u8 idtype, u16 idval,
u8 up)
{ … }
static u8 qede_dcbnl_setdcbx(struct net_device *netdev, u8 state)
{ … }
static u8 qede_dcbnl_getfeatcfg(struct net_device *netdev, int featid,
u8 *flags)
{ … }
static u8 qede_dcbnl_setfeatcfg(struct net_device *netdev, int featid, u8 flags)
{ … }
static int qede_dcbnl_peer_getappinfo(struct net_device *netdev,
struct dcb_peer_app_info *info,
u16 *count)
{ … }
static int qede_dcbnl_peer_getapptable(struct net_device *netdev,
struct dcb_app *app)
{ … }
static int qede_dcbnl_cee_peer_getpfc(struct net_device *netdev,
struct cee_pfc *pfc)
{ … }
static int qede_dcbnl_cee_peer_getpg(struct net_device *netdev,
struct cee_pg *pg)
{ … }
static int qede_dcbnl_ieee_getpfc(struct net_device *netdev,
struct ieee_pfc *pfc)
{ … }
static int qede_dcbnl_ieee_setpfc(struct net_device *netdev,
struct ieee_pfc *pfc)
{ … }
static int qede_dcbnl_ieee_getets(struct net_device *netdev,
struct ieee_ets *ets)
{ … }
static int qede_dcbnl_ieee_setets(struct net_device *netdev,
struct ieee_ets *ets)
{ … }
static int qede_dcbnl_ieee_getapp(struct net_device *netdev,
struct dcb_app *app)
{ … }
static int qede_dcbnl_ieee_setapp(struct net_device *netdev,
struct dcb_app *app)
{ … }
static int qede_dcbnl_ieee_peer_getpfc(struct net_device *netdev,
struct ieee_pfc *pfc)
{ … }
static int qede_dcbnl_ieee_peer_getets(struct net_device *netdev,
struct ieee_ets *ets)
{ … }
static const struct dcbnl_rtnl_ops qede_dcbnl_ops = …;
void qede_set_dcbnl_ops(struct net_device *dev)
{ … }