Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
ixgbe_dcb_nl.c File Reference
#include "ixgbe.h"
#include <linux/dcbnl.h>
#include "ixgbe_dcb_82598.h"
#include "ixgbe_dcb_82599.h"

Go to the source code of this file.

Macros

#define BIT_DCB_MODE   0x01
 
#define BIT_PFC   0x02
 
#define BIT_PG_RX   0x04
 
#define BIT_PG_TX   0x08
 
#define BIT_APP_UPCHG   0x10
 
#define BIT_LINKSPEED   0x80
 
#define DCB_HW_CHG_RST   0 /* DCB configuration changed with reset */
 
#define DCB_NO_HW_CHG   1 /* DCB configuration did not change */
 
#define DCB_HW_CHG   2 /* DCB configuration changed, no reset */
 

Variables

struct dcbnl_rtnl_ops dcbnl_ops
 

Macro Definition Documentation

#define BIT_APP_UPCHG   0x10

Definition at line 39 of file ixgbe_dcb_nl.c.

#define BIT_DCB_MODE   0x01

Definition at line 35 of file ixgbe_dcb_nl.c.

#define BIT_LINKSPEED   0x80

Definition at line 40 of file ixgbe_dcb_nl.c.

#define BIT_PFC   0x02

Definition at line 36 of file ixgbe_dcb_nl.c.

#define BIT_PG_RX   0x04

Definition at line 37 of file ixgbe_dcb_nl.c.

#define BIT_PG_TX   0x08

Definition at line 38 of file ixgbe_dcb_nl.c.

#define DCB_HW_CHG   2 /* DCB configuration changed, no reset */

Definition at line 45 of file ixgbe_dcb_nl.c.

#define DCB_HW_CHG_RST   0 /* DCB configuration changed with reset */

Definition at line 43 of file ixgbe_dcb_nl.c.

#define DCB_NO_HW_CHG   1 /* DCB configuration did not change */

Definition at line 44 of file ixgbe_dcb_nl.c.

Variable Documentation

Initial value:
= {
.ieee_getets = ixgbe_dcbnl_ieee_getets,
.ieee_setets = ixgbe_dcbnl_ieee_setets,
.ieee_getpfc = ixgbe_dcbnl_ieee_getpfc,
.ieee_setpfc = ixgbe_dcbnl_ieee_setpfc,
.ieee_setapp = ixgbe_dcbnl_ieee_setapp,
.ieee_delapp = ixgbe_dcbnl_ieee_delapp,
.getstate = ixgbe_dcbnl_get_state,
.setstate = ixgbe_dcbnl_set_state,
.getpermhwaddr = ixgbe_dcbnl_get_perm_hw_addr,
.setpgtccfgtx = ixgbe_dcbnl_set_pg_tc_cfg_tx,
.setpgbwgcfgtx = ixgbe_dcbnl_set_pg_bwg_cfg_tx,
.setpgtccfgrx = ixgbe_dcbnl_set_pg_tc_cfg_rx,
.setpgbwgcfgrx = ixgbe_dcbnl_set_pg_bwg_cfg_rx,
.getpgtccfgtx = ixgbe_dcbnl_get_pg_tc_cfg_tx,
.getpgbwgcfgtx = ixgbe_dcbnl_get_pg_bwg_cfg_tx,
.getpgtccfgrx = ixgbe_dcbnl_get_pg_tc_cfg_rx,
.getpgbwgcfgrx = ixgbe_dcbnl_get_pg_bwg_cfg_rx,
.setpfccfg = ixgbe_dcbnl_set_pfc_cfg,
.getpfccfg = ixgbe_dcbnl_get_pfc_cfg,
.setall = ixgbe_dcbnl_set_all,
.getcap = ixgbe_dcbnl_getcap,
.getnumtcs = ixgbe_dcbnl_getnumtcs,
.setnumtcs = ixgbe_dcbnl_setnumtcs,
.getpfcstate = ixgbe_dcbnl_getpfcstate,
.setpfcstate = ixgbe_dcbnl_setpfcstate,
.getapp = ixgbe_dcbnl_getapp,
.getdcbx = ixgbe_dcbnl_getdcbx,
.setdcbx = ixgbe_dcbnl_setdcbx,
}

Definition at line 737 of file ixgbe_dcb_nl.c.