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

Go to the source code of this file.

Data Structures

struct  ieee_ets
 
struct  ieee_maxrate
 
struct  ieee_pfc
 
struct  cee_pg
 
struct  cee_pfc
 
struct  dcb_app
 
struct  dcb_peer_app_info
 
struct  dcbmsg
 

Macros

#define IEEE_8021QAZ_MAX_TCS   8
 
#define IEEE_8021QAZ_TSA_STRICT   0
 
#define IEEE_8021QAZ_TSA_CB_SHAPER   1
 
#define IEEE_8021QAZ_TSA_ETS   2
 
#define IEEE_8021QAZ_TSA_VENDOR   255
 
#define CEE_DCBX_MAX_PGS   8
 
#define CEE_DCBX_MAX_PRIO   8
 
#define IEEE_8021QAZ_APP_SEL_ETHERTYPE   1
 
#define IEEE_8021QAZ_APP_SEL_STREAM   2
 
#define IEEE_8021QAZ_APP_SEL_DGRAM   3
 
#define IEEE_8021QAZ_APP_SEL_ANY   4
 
#define DCB_ATTR_IEEE_MAX   (__DCB_ATTR_IEEE_MAX - 1)
 
#define DCB_ATTR_IEEE_APP_MAX   (__DCB_ATTR_IEEE_APP_MAX - 1)
 
#define DCB_ATTR_CEE_MAX   (__DCB_ATTR_CEE_MAX - 1)
 
#define DCB_ATTR_CEE_PEER_APP_MAX   (__DCB_ATTR_CEE_PEER_APP_MAX - 1)
 
#define DCB_ATTR_CEE_APP_MAX   (__DCB_ATTR_CEE_APP_MAX - 1)
 
#define DCB_CAP_DCBX_HOST   0x01
 
#define DCB_CAP_DCBX_LLD_MANAGED   0x02
 
#define DCB_CAP_DCBX_VER_CEE   0x04
 
#define DCB_CAP_DCBX_VER_IEEE   0x08
 
#define DCB_CAP_DCBX_STATIC   0x10
 
#define DCB_APP_IDTYPE_ETHTYPE   0x00
 
#define DCB_APP_IDTYPE_PORTNUM   0x01
 
#define DCB_FEATCFG_ERROR   0x01 /* error in feature resolution */
 
#define DCB_FEATCFG_ENABLE   0x02 /* enable feature */
 
#define DCB_FEATCFG_WILLING   0x04 /* feature is willing */
 
#define DCB_FEATCFG_ADVERTISE   0x08 /* advertise feature */
 

Enumerations

enum  dcbnl_commands {
  DCB_CMD_UNDEFINED, DCB_CMD_GSTATE, DCB_CMD_SSTATE, DCB_CMD_PGTX_GCFG,
  DCB_CMD_PGTX_SCFG, DCB_CMD_PGRX_GCFG, DCB_CMD_PGRX_SCFG, DCB_CMD_PFC_GCFG,
  DCB_CMD_PFC_SCFG, DCB_CMD_SET_ALL, DCB_CMD_GPERM_HWADDR, DCB_CMD_GCAP,
  DCB_CMD_GNUMTCS, DCB_CMD_SNUMTCS, DCB_CMD_PFC_GSTATE, DCB_CMD_PFC_SSTATE,
  DCB_CMD_BCN_GCFG, DCB_CMD_BCN_SCFG, DCB_CMD_GAPP, DCB_CMD_SAPP,
  DCB_CMD_IEEE_SET, DCB_CMD_IEEE_GET, DCB_CMD_GDCBX, DCB_CMD_SDCBX,
  DCB_CMD_GFEATCFG, DCB_CMD_SFEATCFG, DCB_CMD_CEE_GET, DCB_CMD_IEEE_DEL,
  __DCB_CMD_ENUM_MAX, DCB_CMD_MAX = __DCB_CMD_ENUM_MAX - 1
}
 
enum  dcbnl_attrs {
  DCB_ATTR_UNDEFINED, DCB_ATTR_IFNAME, DCB_ATTR_STATE, DCB_ATTR_PFC_STATE,
  DCB_ATTR_PFC_CFG, DCB_ATTR_NUM_TC, DCB_ATTR_PG_CFG, DCB_ATTR_SET_ALL,
  DCB_ATTR_PERM_HWADDR, DCB_ATTR_CAP, DCB_ATTR_NUMTCS, DCB_ATTR_BCN,
  DCB_ATTR_APP, DCB_ATTR_IEEE, DCB_ATTR_DCBX, DCB_ATTR_FEATCFG,
  DCB_ATTR_CEE, __DCB_ATTR_ENUM_MAX, DCB_ATTR_MAX = __DCB_ATTR_ENUM_MAX - 1
}
 
enum  ieee_attrs {
  DCB_ATTR_IEEE_UNSPEC, DCB_ATTR_IEEE_ETS, DCB_ATTR_IEEE_PFC, DCB_ATTR_IEEE_APP_TABLE,
  DCB_ATTR_IEEE_PEER_ETS, DCB_ATTR_IEEE_PEER_PFC, DCB_ATTR_IEEE_PEER_APP, DCB_ATTR_IEEE_MAXRATE,
  __DCB_ATTR_IEEE_MAX
}
 
enum  ieee_attrs_app { DCB_ATTR_IEEE_APP_UNSPEC, DCB_ATTR_IEEE_APP, __DCB_ATTR_IEEE_APP_MAX }
 
enum  cee_attrs {
  DCB_ATTR_CEE_UNSPEC, DCB_ATTR_CEE_PEER_PG, DCB_ATTR_CEE_PEER_PFC, DCB_ATTR_CEE_PEER_APP_TABLE,
  DCB_ATTR_CEE_TX_PG, DCB_ATTR_CEE_RX_PG, DCB_ATTR_CEE_PFC, DCB_ATTR_CEE_APP_TABLE,
  DCB_ATTR_CEE_FEAT, __DCB_ATTR_CEE_MAX
}
 
enum  peer_app_attr { DCB_ATTR_CEE_PEER_APP_UNSPEC, DCB_ATTR_CEE_PEER_APP_INFO, DCB_ATTR_CEE_PEER_APP, __DCB_ATTR_CEE_PEER_APP_MAX }
 
enum  cee_attrs_app { DCB_ATTR_CEE_APP_UNSPEC, DCB_ATTR_CEE_APP, __DCB_ATTR_CEE_APP_MAX }
 
enum  dcbnl_pfc_up_attrs {
  DCB_PFC_UP_ATTR_UNDEFINED, DCB_PFC_UP_ATTR_0, DCB_PFC_UP_ATTR_1, DCB_PFC_UP_ATTR_2,
  DCB_PFC_UP_ATTR_3, DCB_PFC_UP_ATTR_4, DCB_PFC_UP_ATTR_5, DCB_PFC_UP_ATTR_6,
  DCB_PFC_UP_ATTR_7, DCB_PFC_UP_ATTR_ALL, __DCB_PFC_UP_ATTR_ENUM_MAX, DCB_PFC_UP_ATTR_MAX = __DCB_PFC_UP_ATTR_ENUM_MAX - 1
}
 
enum  dcbnl_pg_attrs {
  DCB_PG_ATTR_UNDEFINED, DCB_PG_ATTR_TC_0, DCB_PG_ATTR_TC_1, DCB_PG_ATTR_TC_2,
  DCB_PG_ATTR_TC_3, DCB_PG_ATTR_TC_4, DCB_PG_ATTR_TC_5, DCB_PG_ATTR_TC_6,
  DCB_PG_ATTR_TC_7, DCB_PG_ATTR_TC_MAX, DCB_PG_ATTR_TC_ALL, DCB_PG_ATTR_BW_ID_0,
  DCB_PG_ATTR_BW_ID_1, DCB_PG_ATTR_BW_ID_2, DCB_PG_ATTR_BW_ID_3, DCB_PG_ATTR_BW_ID_4,
  DCB_PG_ATTR_BW_ID_5, DCB_PG_ATTR_BW_ID_6, DCB_PG_ATTR_BW_ID_7, DCB_PG_ATTR_BW_ID_MAX,
  DCB_PG_ATTR_BW_ID_ALL, __DCB_PG_ATTR_ENUM_MAX, DCB_PG_ATTR_MAX = __DCB_PG_ATTR_ENUM_MAX - 1
}
 
enum  dcbnl_tc_attrs {
  DCB_TC_ATTR_PARAM_UNDEFINED, DCB_TC_ATTR_PARAM_PGID, DCB_TC_ATTR_PARAM_UP_MAPPING, DCB_TC_ATTR_PARAM_STRICT_PRIO,
  DCB_TC_ATTR_PARAM_BW_PCT, DCB_TC_ATTR_PARAM_ALL, __DCB_TC_ATTR_PARAM_ENUM_MAX, DCB_TC_ATTR_PARAM_MAX = __DCB_TC_ATTR_PARAM_ENUM_MAX - 1
}
 
enum  dcbnl_cap_attrs {
  DCB_CAP_ATTR_UNDEFINED, DCB_CAP_ATTR_ALL, DCB_CAP_ATTR_PG, DCB_CAP_ATTR_PFC,
  DCB_CAP_ATTR_UP2TC, DCB_CAP_ATTR_PG_TCS, DCB_CAP_ATTR_PFC_TCS, DCB_CAP_ATTR_GSP,
  DCB_CAP_ATTR_BCN, DCB_CAP_ATTR_DCBX, __DCB_CAP_ATTR_ENUM_MAX, DCB_CAP_ATTR_MAX = __DCB_CAP_ATTR_ENUM_MAX - 1
}
 
enum  dcbnl_numtcs_attrs {
  DCB_NUMTCS_ATTR_UNDEFINED, DCB_NUMTCS_ATTR_ALL, DCB_NUMTCS_ATTR_PG, DCB_NUMTCS_ATTR_PFC,
  __DCB_NUMTCS_ATTR_ENUM_MAX, DCB_NUMTCS_ATTR_MAX = __DCB_NUMTCS_ATTR_ENUM_MAX - 1
}
 
enum  dcbnl_bcn_attrs {
  DCB_BCN_ATTR_UNDEFINED = 0, DCB_BCN_ATTR_RP_0, DCB_BCN_ATTR_RP_1, DCB_BCN_ATTR_RP_2,
  DCB_BCN_ATTR_RP_3, DCB_BCN_ATTR_RP_4, DCB_BCN_ATTR_RP_5, DCB_BCN_ATTR_RP_6,
  DCB_BCN_ATTR_RP_7, DCB_BCN_ATTR_RP_ALL, DCB_BCN_ATTR_BCNA_0, DCB_BCN_ATTR_BCNA_1,
  DCB_BCN_ATTR_ALPHA, DCB_BCN_ATTR_BETA, DCB_BCN_ATTR_GD, DCB_BCN_ATTR_GI,
  DCB_BCN_ATTR_TMAX, DCB_BCN_ATTR_TD, DCB_BCN_ATTR_RMIN, DCB_BCN_ATTR_W,
  DCB_BCN_ATTR_RD, DCB_BCN_ATTR_RU, DCB_BCN_ATTR_WRTT, DCB_BCN_ATTR_RI,
  DCB_BCN_ATTR_C, DCB_BCN_ATTR_ALL, __DCB_BCN_ATTR_ENUM_MAX, DCB_BCN_ATTR_MAX = __DCB_BCN_ATTR_ENUM_MAX - 1
}
 
enum  dcb_general_attr_values { DCB_ATTR_VALUE_UNDEFINED = 0xff }
 
enum  dcbnl_app_attrs {
  DCB_APP_ATTR_UNDEFINED, DCB_APP_ATTR_IDTYPE, DCB_APP_ATTR_ID, DCB_APP_ATTR_PRIORITY,
  __DCB_APP_ATTR_ENUM_MAX, DCB_APP_ATTR_MAX = __DCB_APP_ATTR_ENUM_MAX - 1
}
 
enum  dcbnl_featcfg_attrs {
  DCB_FEATCFG_ATTR_UNDEFINED, DCB_FEATCFG_ATTR_ALL, DCB_FEATCFG_ATTR_PG, DCB_FEATCFG_ATTR_PFC,
  DCB_FEATCFG_ATTR_APP, __DCB_FEATCFG_ATTR_ENUM_MAX, DCB_FEATCFG_ATTR_MAX = __DCB_FEATCFG_ATTR_ENUM_MAX - 1
}
 

Macro Definition Documentation

#define CEE_DCBX_MAX_PGS   8

Definition at line 102 of file dcbnl.h.

#define CEE_DCBX_MAX_PRIO   8

Definition at line 103 of file dcbnl.h.

#define DCB_APP_IDTYPE_ETHTYPE   0x00

Definition at line 645 of file dcbnl.h.

#define DCB_APP_IDTYPE_PORTNUM   0x01

Definition at line 646 of file dcbnl.h.

#define DCB_ATTR_CEE_APP_MAX   (__DCB_ATTR_CEE_APP_MAX - 1)

Definition at line 389 of file dcbnl.h.

#define DCB_ATTR_CEE_MAX   (__DCB_ATTR_CEE_MAX - 1)

Definition at line 374 of file dcbnl.h.

#define DCB_ATTR_CEE_PEER_APP_MAX   (__DCB_ATTR_CEE_PEER_APP_MAX - 1)

Definition at line 382 of file dcbnl.h.

#define DCB_ATTR_IEEE_APP_MAX   (__DCB_ATTR_IEEE_APP_MAX - 1)

Definition at line 345 of file dcbnl.h.

#define DCB_ATTR_IEEE_MAX   (__DCB_ATTR_IEEE_MAX - 1)

Definition at line 338 of file dcbnl.h.

#define DCB_CAP_DCBX_HOST   0x01

DCBX capability flags

: DCBX negotiation is performed by the host LLDP agent. 'set' routines are used to configure the device with the negotiated parameters

: DCBX negotiation is not performed in the host but by another entity 'get' routines are used to retrieve the negotiated parameters 'set' routines can be used to set the initial negotiation configuration

: for a non-host DCBX engine, indicates the engine supports the CEE protocol flavor

: for a non-host DCBX engine, indicates the engine supports the IEEE protocol flavor

: for a non-host DCBX engine, indicates the engine supports static configuration (i.e no actual negotiation is performed negotiated parameters equal the initial configuration)

Definition at line 575 of file dcbnl.h.

#define DCB_CAP_DCBX_LLD_MANAGED   0x02

Definition at line 576 of file dcbnl.h.

#define DCB_CAP_DCBX_STATIC   0x10

Definition at line 579 of file dcbnl.h.

#define DCB_CAP_DCBX_VER_CEE   0x04

Definition at line 577 of file dcbnl.h.

#define DCB_CAP_DCBX_VER_IEEE   0x08

Definition at line 578 of file dcbnl.h.

#define DCB_FEATCFG_ADVERTISE   0x08 /* advertise feature */

Definition at line 672 of file dcbnl.h.

#define DCB_FEATCFG_ENABLE   0x02 /* enable feature */

Definition at line 670 of file dcbnl.h.

#define DCB_FEATCFG_ERROR   0x01 /* error in feature resolution */

enum dcbnl_featcfg_attrs - features conifiguration flags

: unspecified attribute to catch errors : (NLA_FLAG) all features configuration attributes : (NLA_U8) configuration flags for priority groups : (NLA_U8) configuration flags for priority flow control : (NLA_U8) configuration flags for application TLV

Definition at line 669 of file dcbnl.h.

#define DCB_FEATCFG_WILLING   0x04 /* feature is willing */

Definition at line 671 of file dcbnl.h.

#define IEEE_8021QAZ_APP_SEL_ANY   4

Definition at line 143 of file dcbnl.h.

#define IEEE_8021QAZ_APP_SEL_DGRAM   3

Definition at line 142 of file dcbnl.h.

#define IEEE_8021QAZ_APP_SEL_ETHERTYPE   1

Definition at line 140 of file dcbnl.h.

#define IEEE_8021QAZ_APP_SEL_STREAM   2

Definition at line 141 of file dcbnl.h.

#define IEEE_8021QAZ_MAX_TCS   8

Definition at line 26 of file dcbnl.h.

#define IEEE_8021QAZ_TSA_CB_SHAPER   1

Definition at line 29 of file dcbnl.h.

#define IEEE_8021QAZ_TSA_ETS   2

Definition at line 30 of file dcbnl.h.

#define IEEE_8021QAZ_TSA_STRICT   0

Definition at line 28 of file dcbnl.h.

#define IEEE_8021QAZ_TSA_VENDOR   255

Definition at line 31 of file dcbnl.h.

Enumeration Type Documentation

enum cee_attrs

enum cee_attrs - CEE DCBX get attributes.

: unspecified : peer PG configuration - get only : peer PFC configuration - get only : peer APP tlv - get only : TX PG configuration (DCB_CMD_PGTX_GCFG) : RX PG configuration (DCB_CMD_PGRX_GCFG) : PFC configuration (DCB_CMD_PFC_GCFG) : APP configuration (multi DCB_CMD_GAPP) : DCBX features flags (DCB_CMD_GFEATCFG)

An aggregated collection of the cee std negotiated parameters.

Enumerator:
DCB_ATTR_CEE_UNSPEC 
DCB_ATTR_CEE_PEER_PG 
DCB_ATTR_CEE_PEER_PFC 
DCB_ATTR_CEE_PEER_APP_TABLE 
DCB_ATTR_CEE_TX_PG 
DCB_ATTR_CEE_RX_PG 
DCB_ATTR_CEE_PFC 
DCB_ATTR_CEE_APP_TABLE 
DCB_ATTR_CEE_FEAT 
__DCB_ATTR_CEE_MAX 

Definition at line 362 of file dcbnl.h.

Enumerator:
DCB_ATTR_CEE_APP_UNSPEC 
DCB_ATTR_CEE_APP 
__DCB_ATTR_CEE_APP_MAX 

Definition at line 384 of file dcbnl.h.

enum dcb_general_attr_values - general DCB attribute values

: value used to indicate an attribute is not supported

Enumerator:
DCB_ATTR_VALUE_UNDEFINED 

Definition at line 641 of file dcbnl.h.

Enumerator:
DCB_APP_ATTR_UNDEFINED 
DCB_APP_ATTR_IDTYPE 
DCB_APP_ATTR_ID 
DCB_APP_ATTR_PRIORITY 
__DCB_APP_ATTR_ENUM_MAX 
DCB_APP_ATTR_MAX 

Definition at line 647 of file dcbnl.h.

enum dcbnl_attrs - DCB top-level netlink attributes

: unspecified attribute to catch errors : interface name of the underlying device (NLA_STRING) : enable state of DCB in the device (NLA_U8) : enable state of PFC in the device (NLA_U8) : priority flow control configuration (NLA_NESTED) : number of traffic classes supported in the device (NLA_U8) : priority group configuration (NLA_NESTED) : bool to commit changes to hardware or not (NLA_U8) : MAC address of the physical device (NLA_NESTED) : DCB capabilities of the device (NLA_NESTED) : number of traffic classes supported (NLA_NESTED) : backward congestion notification configuration (NLA_NESTED) : IEEE 802.1Qaz supported attributes (NLA_NESTED) : DCBX engine configuration in the device (NLA_U8) : DCBX features flags (NLA_NESTED) : CEE std supported attributes (NLA_NESTED)

Enumerator:
DCB_ATTR_UNDEFINED 
DCB_ATTR_IFNAME 
DCB_ATTR_STATE 
DCB_ATTR_PFC_STATE 
DCB_ATTR_PFC_CFG 
DCB_ATTR_NUM_TC 
DCB_ATTR_PG_CFG 
DCB_ATTR_SET_ALL 
DCB_ATTR_PERM_HWADDR 
DCB_ATTR_CAP 
DCB_ATTR_NUMTCS 
DCB_ATTR_BCN 
DCB_ATTR_APP 
DCB_ATTR_IEEE 
DCB_ATTR_DCBX 
DCB_ATTR_FEATCFG 
DCB_ATTR_CEE 
__DCB_ATTR_ENUM_MAX 
DCB_ATTR_MAX 

Definition at line 287 of file dcbnl.h.

Enumerator:
DCB_BCN_ATTR_UNDEFINED 
DCB_BCN_ATTR_RP_0 
DCB_BCN_ATTR_RP_1 
DCB_BCN_ATTR_RP_2 
DCB_BCN_ATTR_RP_3 
DCB_BCN_ATTR_RP_4 
DCB_BCN_ATTR_RP_5 
DCB_BCN_ATTR_RP_6 
DCB_BCN_ATTR_RP_7 
DCB_BCN_ATTR_RP_ALL 
DCB_BCN_ATTR_BCNA_0 
DCB_BCN_ATTR_BCNA_1 
DCB_BCN_ATTR_ALPHA 
DCB_BCN_ATTR_BETA 
DCB_BCN_ATTR_GD 
DCB_BCN_ATTR_GI 
DCB_BCN_ATTR_TMAX 
DCB_BCN_ATTR_TD 
DCB_BCN_ATTR_RMIN 
DCB_BCN_ATTR_W 
DCB_BCN_ATTR_RD 
DCB_BCN_ATTR_RU 
DCB_BCN_ATTR_WRTT 
DCB_BCN_ATTR_RI 
DCB_BCN_ATTR_C 
DCB_BCN_ATTR_ALL 
__DCB_BCN_ATTR_ENUM_MAX 
DCB_BCN_ATTR_MAX 

Definition at line 601 of file dcbnl.h.

enum dcbnl_cap_attrs - DCB Capability attributes

: unspecified attribute to catch errors : (NLA_FLAG) all capability parameters : (NLA_U8) device supports Priority Groups : (NLA_U8) device supports Priority Flow Control : (NLA_U8) device supports user priority to traffic class mapping : (NLA_U8) bitmap where each bit represents a number of traffic classes the device can be configured to use for Priority Groups : (NLA_U8) bitmap where each bit represents a number of traffic classes the device can be configured to use for Priority Flow Control : (NLA_U8) device supports group strict priority : (NLA_U8) device supports Backwards Congestion Notification : (NLA_U8) device supports DCBX engine

Enumerator:
DCB_CAP_ATTR_UNDEFINED 
DCB_CAP_ATTR_ALL 
DCB_CAP_ATTR_PG 
DCB_CAP_ATTR_PFC 
DCB_CAP_ATTR_UP2TC 
DCB_CAP_ATTR_PG_TCS 
DCB_CAP_ATTR_PFC_TCS 
DCB_CAP_ATTR_GSP 
DCB_CAP_ATTR_BCN 
DCB_CAP_ATTR_DCBX 
__DCB_CAP_ATTR_ENUM_MAX 
DCB_CAP_ATTR_MAX 

Definition at line 533 of file dcbnl.h.

enum dcbnl_commands - supported DCB commands

: unspecified command to catch errors : request the state of DCB in the device : set the state of DCB in the device : request the priority group configuration for Tx : set the priority group configuration for Tx : request the priority group configuration for Rx : set the priority group configuration for Rx : request the priority flow control configuration : set the priority flow control configuration : apply all changes to the underlying device : get the permanent MAC address of the underlying device. Only useful when using bonding. : request the DCB capabilities of the device : get the number of traffic classes currently supported : set the number of traffic classes : set backward congestion notification configuration : get backward congestion notification configration. : get application protocol configuration : set application protocol configuration : set IEEE 802.1Qaz configuration : get IEEE 802.1Qaz configuration : get DCBX engine configuration : set DCBX engine configuration : get DCBX features flags : set DCBX features negotiation flags : get CEE aggregated configuration : delete IEEE 802.1Qaz configuration

Enumerator:
DCB_CMD_UNDEFINED 
DCB_CMD_GSTATE 
DCB_CMD_SSTATE 
DCB_CMD_PGTX_GCFG 
DCB_CMD_PGTX_SCFG 
DCB_CMD_PGRX_GCFG 
DCB_CMD_PGRX_SCFG 
DCB_CMD_PFC_GCFG 
DCB_CMD_PFC_SCFG 
DCB_CMD_SET_ALL 
DCB_CMD_GPERM_HWADDR 
DCB_CMD_GCAP 
DCB_CMD_GNUMTCS 
DCB_CMD_SNUMTCS 
DCB_CMD_PFC_GSTATE 
DCB_CMD_PFC_SSTATE 
DCB_CMD_BCN_GCFG 
DCB_CMD_BCN_SCFG 
DCB_CMD_GAPP 
DCB_CMD_SAPP 
DCB_CMD_IEEE_SET 
DCB_CMD_IEEE_GET 
DCB_CMD_GDCBX 
DCB_CMD_SDCBX 
DCB_CMD_GFEATCFG 
DCB_CMD_SFEATCFG 
DCB_CMD_CEE_GET 
DCB_CMD_IEEE_DEL 
__DCB_CMD_ENUM_MAX 
DCB_CMD_MAX 

Definition at line 219 of file dcbnl.h.

Enumerator:
DCB_FEATCFG_ATTR_UNDEFINED 
DCB_FEATCFG_ATTR_ALL 
DCB_FEATCFG_ATTR_PG 
DCB_FEATCFG_ATTR_PFC 
DCB_FEATCFG_ATTR_APP 
__DCB_FEATCFG_ATTR_ENUM_MAX 
DCB_FEATCFG_ATTR_MAX 

Definition at line 673 of file dcbnl.h.

enum dcbnl_numtcs_attrs - number of traffic classes

: unspecified attribute to catch errors : (NLA_FLAG) all traffic class attributes : (NLA_U8) number of traffic classes used for priority groups : (NLA_U8) number of traffic classes which can support priority flow control

Enumerator:
DCB_NUMTCS_ATTR_UNDEFINED 
DCB_NUMTCS_ATTR_ALL 
DCB_NUMTCS_ATTR_PG 
DCB_NUMTCS_ATTR_PFC 
__DCB_NUMTCS_ATTR_ENUM_MAX 
DCB_NUMTCS_ATTR_MAX 

Definition at line 591 of file dcbnl.h.

enum dcbnl_pfc_attrs - DCB Priority Flow Control user priority nested attrs

: unspecified attribute to catch errors : Priority Flow Control value for User Priority 0 (NLA_U8) : Priority Flow Control value for User Priority 1 (NLA_U8) : Priority Flow Control value for User Priority 2 (NLA_U8) : Priority Flow Control value for User Priority 3 (NLA_U8) : Priority Flow Control value for User Priority 4 (NLA_U8) : Priority Flow Control value for User Priority 5 (NLA_U8) : Priority Flow Control value for User Priority 6 (NLA_U8) : Priority Flow Control value for User Priority 7 (NLA_U8) : highest attribute number currently defined : apply to all priority flow control attrs (NLA_FLAG)

Enumerator:
DCB_PFC_UP_ATTR_UNDEFINED 
DCB_PFC_UP_ATTR_0 
DCB_PFC_UP_ATTR_1 
DCB_PFC_UP_ATTR_2 
DCB_PFC_UP_ATTR_3 
DCB_PFC_UP_ATTR_4 
DCB_PFC_UP_ATTR_5 
DCB_PFC_UP_ATTR_6 
DCB_PFC_UP_ATTR_7 
DCB_PFC_UP_ATTR_ALL 
__DCB_PFC_UP_ATTR_ENUM_MAX 
DCB_PFC_UP_ATTR_MAX 

Definition at line 407 of file dcbnl.h.

enum dcbnl_pg_attrs - DCB Priority Group attributes

: unspecified attribute to catch errors : Priority Group Traffic Class 0 configuration (NLA_NESTED) : Priority Group Traffic Class 1 configuration (NLA_NESTED) : Priority Group Traffic Class 2 configuration (NLA_NESTED) : Priority Group Traffic Class 3 configuration (NLA_NESTED) : Priority Group Traffic Class 4 configuration (NLA_NESTED) : Priority Group Traffic Class 5 configuration (NLA_NESTED) : Priority Group Traffic Class 6 configuration (NLA_NESTED) : Priority Group Traffic Class 7 configuration (NLA_NESTED) : highest attribute number currently defined : apply to all traffic classes (NLA_NESTED) : Percent of link bandwidth for Priority Group 0 (NLA_U8) : Percent of link bandwidth for Priority Group 1 (NLA_U8) : Percent of link bandwidth for Priority Group 2 (NLA_U8) : Percent of link bandwidth for Priority Group 3 (NLA_U8) : Percent of link bandwidth for Priority Group 4 (NLA_U8) : Percent of link bandwidth for Priority Group 5 (NLA_U8) : Percent of link bandwidth for Priority Group 6 (NLA_U8) : Percent of link bandwidth for Priority Group 7 (NLA_U8) : highest attribute number currently defined : apply to all priority groups (NLA_FLAG)

Enumerator:
DCB_PG_ATTR_UNDEFINED 
DCB_PG_ATTR_TC_0 
DCB_PG_ATTR_TC_1 
DCB_PG_ATTR_TC_2 
DCB_PG_ATTR_TC_3 
DCB_PG_ATTR_TC_4 
DCB_PG_ATTR_TC_5 
DCB_PG_ATTR_TC_6 
DCB_PG_ATTR_TC_7 
DCB_PG_ATTR_TC_MAX 
DCB_PG_ATTR_TC_ALL 
DCB_PG_ATTR_BW_ID_0 
DCB_PG_ATTR_BW_ID_1 
DCB_PG_ATTR_BW_ID_2 
DCB_PG_ATTR_BW_ID_3 
DCB_PG_ATTR_BW_ID_4 
DCB_PG_ATTR_BW_ID_5 
DCB_PG_ATTR_BW_ID_6 
DCB_PG_ATTR_BW_ID_7 
DCB_PG_ATTR_BW_ID_MAX 
DCB_PG_ATTR_BW_ID_ALL 
__DCB_PG_ATTR_ENUM_MAX 
DCB_PG_ATTR_MAX 

Definition at line 450 of file dcbnl.h.

enum dcbnl_tc_attrs - DCB Traffic Class attributes

: unspecified attribute to catch errors : (NLA_U8) Priority group the traffic class belongs to Valid values are: 0-7 : (NLA_U8) Traffic class to user priority map Some devices may not support changing the user priority map of a TC. : (NLA_U8) Strict priority setting 0 - none 1 - group strict 2 - link strict : optional - (NLA_U8) If supported by the device and not configured to use link strict priority, this is the percentage of bandwidth of the priority group this traffic class belongs to : (NLA_FLAG) all traffic class parameters

Enumerator:
DCB_TC_ATTR_PARAM_UNDEFINED 
DCB_TC_ATTR_PARAM_PGID 
DCB_TC_ATTR_PARAM_UP_MAPPING 
DCB_TC_ATTR_PARAM_STRICT_PRIO 
DCB_TC_ATTR_PARAM_BW_PCT 
DCB_TC_ATTR_PARAM_ALL 
__DCB_TC_ATTR_PARAM_ENUM_MAX 
DCB_TC_ATTR_PARAM_MAX 

Definition at line 499 of file dcbnl.h.

enum ieee_attrs

enum ieee_attrs - IEEE 802.1Qaz get/set attributes

: unspecified : negotiated ETS configuration : negotiated PFC configuration : negotiated APP configuration : peer ETS configuration - get only : peer PFC configuration - get only : peer APP tlv - get only

Enumerator:
DCB_ATTR_IEEE_UNSPEC 
DCB_ATTR_IEEE_ETS 
DCB_ATTR_IEEE_PFC 
DCB_ATTR_IEEE_APP_TABLE 
DCB_ATTR_IEEE_PEER_ETS 
DCB_ATTR_IEEE_PEER_PFC 
DCB_ATTR_IEEE_PEER_APP 
DCB_ATTR_IEEE_MAXRATE 
__DCB_ATTR_IEEE_MAX 

Definition at line 327 of file dcbnl.h.

Enumerator:
DCB_ATTR_IEEE_APP_UNSPEC 
DCB_ATTR_IEEE_APP 
__DCB_ATTR_IEEE_APP_MAX 

Definition at line 340 of file dcbnl.h.

Enumerator:
DCB_ATTR_CEE_PEER_APP_UNSPEC 
DCB_ATTR_CEE_PEER_APP_INFO 
DCB_ATTR_CEE_PEER_APP 
__DCB_ATTR_CEE_PEER_APP_MAX 

Definition at line 376 of file dcbnl.h.