#include "lan966x_main.h"
enum lan966x_dcb_apptrust_values { … };
static const struct lan966x_dcb_apptrust { … } *lan966x_port_apptrust[NUM_PHYS_PORTS];
static const char *lan966x_dcb_apptrust_names[__LAN966X_DCB_APPTRUST_MAX] = …;
static const struct lan966x_dcb_apptrust
lan966x_dcb_apptrust_policies[__LAN966X_DCB_APPTRUST_MAX] = …;
static bool lan966x_dcb_apptrust_contains(int portno, u8 selector)
{ … }
static void lan966x_dcb_app_update(struct net_device *dev)
{ … }
static int lan966x_dcb_ieee_dscp_setdel(struct net_device *dev,
struct dcb_app *app,
int (*setdel)(struct net_device *,
struct dcb_app *))
{ … }
static int lan966x_dcb_app_validate(struct net_device *dev,
const struct dcb_app *app)
{ … }
static int lan966x_dcb_ieee_delapp(struct net_device *dev, struct dcb_app *app)
{ … }
static int lan966x_dcb_ieee_setapp(struct net_device *dev, struct dcb_app *app)
{ … }
static int lan966x_dcb_apptrust_validate(struct net_device *dev,
u8 *selectors,
int nselectors)
{ … }
static int lan966x_dcb_setapptrust(struct net_device *dev,
u8 *selectors,
int nselectors)
{ … }
static int lan966x_dcb_getapptrust(struct net_device *dev, u8 *selectors,
int *nselectors)
{ … }
static int lan966x_dcb_delrewr(struct net_device *dev, struct dcb_app *app)
{ … }
static int lan966x_dcb_setrewr(struct net_device *dev, struct dcb_app *app)
{ … }
static const struct dcbnl_rtnl_ops lan966x_dcbnl_ops = …;
void lan966x_dcb_init(struct lan966x *lan966x)
{ … }