blob: e111f4b443769f103e15cc7ed73db7788595bf33 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __LINUX_DCBNL_H__
20#define __LINUX_DCBNL_H__
21#include <linux/types.h>
22#define IEEE_8021QAZ_MAX_TCS 8
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define IEEE_8021QAZ_TSA_STRICT 0
25#define IEEE_8021QAZ_TSA_CB_SHAPER 1
26#define IEEE_8021QAZ_TSA_ETS 2
27#define IEEE_8021QAZ_TSA_VENDOR 255
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29struct ieee_ets {
Tao Baod7db5942015-01-28 10:07:51 -080030 __u8 willing;
31 __u8 ets_cap;
32 __u8 cbs;
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS];
35 __u8 tc_rx_bw[IEEE_8021QAZ_MAX_TCS];
36 __u8 tc_tsa[IEEE_8021QAZ_MAX_TCS];
37 __u8 prio_tc[IEEE_8021QAZ_MAX_TCS];
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __u8 tc_reco_bw[IEEE_8021QAZ_MAX_TCS];
40 __u8 tc_reco_tsa[IEEE_8021QAZ_MAX_TCS];
41 __u8 reco_prio_tc[IEEE_8021QAZ_MAX_TCS];
Ben Cheng655a7c02013-10-16 16:09:24 -070042};
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44struct ieee_maxrate {
Tao Baod7db5942015-01-28 10:07:51 -080045 __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS];
Ben Cheng655a7c02013-10-16 16:09:24 -070046};
Christopher Ferris05d08e92016-02-04 13:16:38 -080047enum dcbnl_cndd_states {
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 DCB_CNDD_RESET = 0,
50 DCB_CNDD_EDGE,
51 DCB_CNDD_INTERIOR,
52 DCB_CNDD_INTERIOR_READY,
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54};
55struct ieee_qcn {
56 __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS];
57 __u32 rppp_max_rps[IEEE_8021QAZ_MAX_TCS];
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 __u32 rpg_time_reset[IEEE_8021QAZ_MAX_TCS];
60 __u32 rpg_byte_reset[IEEE_8021QAZ_MAX_TCS];
61 __u32 rpg_threshold[IEEE_8021QAZ_MAX_TCS];
62 __u32 rpg_max_rate[IEEE_8021QAZ_MAX_TCS];
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 __u32 rpg_ai_rate[IEEE_8021QAZ_MAX_TCS];
65 __u32 rpg_hai_rate[IEEE_8021QAZ_MAX_TCS];
66 __u32 rpg_gd[IEEE_8021QAZ_MAX_TCS];
67 __u32 rpg_min_dec_fac[IEEE_8021QAZ_MAX_TCS];
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 __u32 rpg_min_rate[IEEE_8021QAZ_MAX_TCS];
70 __u32 cndd_state_machine[IEEE_8021QAZ_MAX_TCS];
71};
72struct ieee_qcn_stats {
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 __u64 rppp_rp_centiseconds[IEEE_8021QAZ_MAX_TCS];
75 __u32 rppp_created_rps[IEEE_8021QAZ_MAX_TCS];
76};
Ben Cheng655a7c02013-10-16 16:09:24 -070077struct ieee_pfc {
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080079 __u8 pfc_cap;
80 __u8 pfc_en;
81 __u8 mbc;
82 __u16 delay;
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 __u64 requests[IEEE_8021QAZ_MAX_TCS];
85 __u64 indications[IEEE_8021QAZ_MAX_TCS];
Ben Cheng655a7c02013-10-16 16:09:24 -070086};
87#define CEE_DCBX_MAX_PGS 8
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89#define CEE_DCBX_MAX_PRIO 8
90struct cee_pg {
Tao Baod7db5942015-01-28 10:07:51 -080091 __u8 willing;
92 __u8 error;
Ben Cheng655a7c02013-10-16 16:09:24 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080094 __u8 pg_en;
95 __u8 tcs_supported;
96 __u8 pg_bw[CEE_DCBX_MAX_PGS];
97 __u8 prio_pg[CEE_DCBX_MAX_PGS];
Ben Cheng655a7c02013-10-16 16:09:24 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99};
100struct cee_pfc {
Tao Baod7db5942015-01-28 10:07:51 -0800101 __u8 willing;
102 __u8 error;
Ben Cheng655a7c02013-10-16 16:09:24 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800104 __u8 pfc_en;
105 __u8 tcs_supported;
Ben Cheng655a7c02013-10-16 16:09:24 -0700106};
107#define IEEE_8021QAZ_APP_SEL_ETHERTYPE 1
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109#define IEEE_8021QAZ_APP_SEL_STREAM 2
110#define IEEE_8021QAZ_APP_SEL_DGRAM 3
111#define IEEE_8021QAZ_APP_SEL_ANY 4
112struct dcb_app {
113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800114 __u8 selector;
115 __u8 priority;
116 __u16 protocol;
Ben Cheng655a7c02013-10-16 16:09:24 -0700117};
118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119struct dcb_peer_app_info {
Tao Baod7db5942015-01-28 10:07:51 -0800120 __u8 willing;
121 __u8 error;
Ben Cheng655a7c02013-10-16 16:09:24 -0700122};
123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124struct dcbmsg {
Tao Baod7db5942015-01-28 10:07:51 -0800125 __u8 dcb_family;
126 __u8 cmd;
127 __u16 dcb_pad;
Ben Cheng655a7c02013-10-16 16:09:24 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129};
130enum dcbnl_commands {
Tao Baod7db5942015-01-28 10:07:51 -0800131 DCB_CMD_UNDEFINED,
132 DCB_CMD_GSTATE,
Ben Cheng655a7c02013-10-16 16:09:24 -0700133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800134 DCB_CMD_SSTATE,
135 DCB_CMD_PGTX_GCFG,
136 DCB_CMD_PGTX_SCFG,
137 DCB_CMD_PGRX_GCFG,
Ben Cheng655a7c02013-10-16 16:09:24 -0700138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800139 DCB_CMD_PGRX_SCFG,
140 DCB_CMD_PFC_GCFG,
141 DCB_CMD_PFC_SCFG,
142 DCB_CMD_SET_ALL,
Ben Cheng655a7c02013-10-16 16:09:24 -0700143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800144 DCB_CMD_GPERM_HWADDR,
145 DCB_CMD_GCAP,
146 DCB_CMD_GNUMTCS,
147 DCB_CMD_SNUMTCS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800149 DCB_CMD_PFC_GSTATE,
150 DCB_CMD_PFC_SSTATE,
151 DCB_CMD_BCN_GCFG,
152 DCB_CMD_BCN_SCFG,
Ben Cheng655a7c02013-10-16 16:09:24 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800154 DCB_CMD_GAPP,
155 DCB_CMD_SAPP,
156 DCB_CMD_IEEE_SET,
157 DCB_CMD_IEEE_GET,
Ben Cheng655a7c02013-10-16 16:09:24 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800159 DCB_CMD_GDCBX,
160 DCB_CMD_SDCBX,
161 DCB_CMD_GFEATCFG,
162 DCB_CMD_SFEATCFG,
Ben Cheng655a7c02013-10-16 16:09:24 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800164 DCB_CMD_CEE_GET,
165 DCB_CMD_IEEE_DEL,
166 __DCB_CMD_ENUM_MAX,
167 DCB_CMD_MAX = __DCB_CMD_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169};
170enum dcbnl_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800171 DCB_ATTR_UNDEFINED,
172 DCB_ATTR_IFNAME,
Ben Cheng655a7c02013-10-16 16:09:24 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800174 DCB_ATTR_STATE,
175 DCB_ATTR_PFC_STATE,
176 DCB_ATTR_PFC_CFG,
177 DCB_ATTR_NUM_TC,
Ben Cheng655a7c02013-10-16 16:09:24 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800179 DCB_ATTR_PG_CFG,
180 DCB_ATTR_SET_ALL,
181 DCB_ATTR_PERM_HWADDR,
182 DCB_ATTR_CAP,
Ben Cheng655a7c02013-10-16 16:09:24 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800184 DCB_ATTR_NUMTCS,
185 DCB_ATTR_BCN,
186 DCB_ATTR_APP,
187 DCB_ATTR_IEEE,
Ben Cheng655a7c02013-10-16 16:09:24 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800189 DCB_ATTR_DCBX,
190 DCB_ATTR_FEATCFG,
191 DCB_ATTR_CEE,
192 __DCB_ATTR_ENUM_MAX,
Ben Cheng655a7c02013-10-16 16:09:24 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800194 DCB_ATTR_MAX = __DCB_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700195};
196enum ieee_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800197 DCB_ATTR_IEEE_UNSPEC,
Ben Cheng655a7c02013-10-16 16:09:24 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800199 DCB_ATTR_IEEE_ETS,
200 DCB_ATTR_IEEE_PFC,
201 DCB_ATTR_IEEE_APP_TABLE,
202 DCB_ATTR_IEEE_PEER_ETS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800204 DCB_ATTR_IEEE_PEER_PFC,
205 DCB_ATTR_IEEE_PEER_APP,
206 DCB_ATTR_IEEE_MAXRATE,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800207 DCB_ATTR_IEEE_QCN,
Ben Cheng655a7c02013-10-16 16:09:24 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800209 DCB_ATTR_IEEE_QCN_STATS,
210 __DCB_ATTR_IEEE_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700211};
212#define DCB_ATTR_IEEE_MAX (__DCB_ATTR_IEEE_MAX - 1)
Christopher Ferris05d08e92016-02-04 13:16:38 -0800213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700214enum ieee_attrs_app {
Tao Baod7db5942015-01-28 10:07:51 -0800215 DCB_ATTR_IEEE_APP_UNSPEC,
Tao Baod7db5942015-01-28 10:07:51 -0800216 DCB_ATTR_IEEE_APP,
217 __DCB_ATTR_IEEE_APP_MAX
Christopher Ferris05d08e92016-02-04 13:16:38 -0800218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700219};
220#define DCB_ATTR_IEEE_APP_MAX (__DCB_ATTR_IEEE_APP_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700221enum cee_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800222 DCB_ATTR_CEE_UNSPEC,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800224 DCB_ATTR_CEE_PEER_PG,
225 DCB_ATTR_CEE_PEER_PFC,
Tao Baod7db5942015-01-28 10:07:51 -0800226 DCB_ATTR_CEE_PEER_APP_TABLE,
227 DCB_ATTR_CEE_TX_PG,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800229 DCB_ATTR_CEE_RX_PG,
230 DCB_ATTR_CEE_PFC,
Tao Baod7db5942015-01-28 10:07:51 -0800231 DCB_ATTR_CEE_APP_TABLE,
232 DCB_ATTR_CEE_FEAT,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800234 __DCB_ATTR_CEE_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700235};
Ben Cheng655a7c02013-10-16 16:09:24 -0700236#define DCB_ATTR_CEE_MAX (__DCB_ATTR_CEE_MAX - 1)
237enum peer_app_attr {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800239 DCB_ATTR_CEE_PEER_APP_UNSPEC,
240 DCB_ATTR_CEE_PEER_APP_INFO,
Tao Baod7db5942015-01-28 10:07:51 -0800241 DCB_ATTR_CEE_PEER_APP,
242 __DCB_ATTR_CEE_PEER_APP_MAX
Christopher Ferris05d08e92016-02-04 13:16:38 -0800243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700244};
245#define DCB_ATTR_CEE_PEER_APP_MAX (__DCB_ATTR_CEE_PEER_APP_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700246enum cee_attrs_app {
Tao Baod7db5942015-01-28 10:07:51 -0800247 DCB_ATTR_CEE_APP_UNSPEC,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800249 DCB_ATTR_CEE_APP,
250 __DCB_ATTR_CEE_APP_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700251};
252#define DCB_ATTR_CEE_APP_MAX (__DCB_ATTR_CEE_APP_MAX - 1)
Christopher Ferris05d08e92016-02-04 13:16:38 -0800253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700254enum dcbnl_pfc_up_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800255 DCB_PFC_UP_ATTR_UNDEFINED,
Tao Baod7db5942015-01-28 10:07:51 -0800256 DCB_PFC_UP_ATTR_0,
257 DCB_PFC_UP_ATTR_1,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800259 DCB_PFC_UP_ATTR_2,
260 DCB_PFC_UP_ATTR_3,
Tao Baod7db5942015-01-28 10:07:51 -0800261 DCB_PFC_UP_ATTR_4,
262 DCB_PFC_UP_ATTR_5,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800264 DCB_PFC_UP_ATTR_6,
265 DCB_PFC_UP_ATTR_7,
Tao Baod7db5942015-01-28 10:07:51 -0800266 DCB_PFC_UP_ATTR_ALL,
267 __DCB_PFC_UP_ATTR_ENUM_MAX,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800269 DCB_PFC_UP_ATTR_MAX = __DCB_PFC_UP_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700270};
Ben Cheng655a7c02013-10-16 16:09:24 -0700271enum dcbnl_pg_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800272 DCB_PG_ATTR_UNDEFINED,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800274 DCB_PG_ATTR_TC_0,
275 DCB_PG_ATTR_TC_1,
Tao Baod7db5942015-01-28 10:07:51 -0800276 DCB_PG_ATTR_TC_2,
277 DCB_PG_ATTR_TC_3,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800279 DCB_PG_ATTR_TC_4,
280 DCB_PG_ATTR_TC_5,
Tao Baod7db5942015-01-28 10:07:51 -0800281 DCB_PG_ATTR_TC_6,
282 DCB_PG_ATTR_TC_7,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800284 DCB_PG_ATTR_TC_MAX,
285 DCB_PG_ATTR_TC_ALL,
Tao Baod7db5942015-01-28 10:07:51 -0800286 DCB_PG_ATTR_BW_ID_0,
287 DCB_PG_ATTR_BW_ID_1,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800289 DCB_PG_ATTR_BW_ID_2,
290 DCB_PG_ATTR_BW_ID_3,
Tao Baod7db5942015-01-28 10:07:51 -0800291 DCB_PG_ATTR_BW_ID_4,
292 DCB_PG_ATTR_BW_ID_5,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800294 DCB_PG_ATTR_BW_ID_6,
295 DCB_PG_ATTR_BW_ID_7,
Tao Baod7db5942015-01-28 10:07:51 -0800296 DCB_PG_ATTR_BW_ID_MAX,
297 DCB_PG_ATTR_BW_ID_ALL,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800299 __DCB_PG_ATTR_ENUM_MAX,
300 DCB_PG_ATTR_MAX = __DCB_PG_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700301};
302enum dcbnl_tc_attrs {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800304 DCB_TC_ATTR_PARAM_UNDEFINED,
305 DCB_TC_ATTR_PARAM_PGID,
Tao Baod7db5942015-01-28 10:07:51 -0800306 DCB_TC_ATTR_PARAM_UP_MAPPING,
307 DCB_TC_ATTR_PARAM_STRICT_PRIO,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800309 DCB_TC_ATTR_PARAM_BW_PCT,
310 DCB_TC_ATTR_PARAM_ALL,
Tao Baod7db5942015-01-28 10:07:51 -0800311 __DCB_TC_ATTR_PARAM_ENUM_MAX,
312 DCB_TC_ATTR_PARAM_MAX = __DCB_TC_ATTR_PARAM_ENUM_MAX - 1,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700314};
315enum dcbnl_cap_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800316 DCB_CAP_ATTR_UNDEFINED,
317 DCB_CAP_ATTR_ALL,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800319 DCB_CAP_ATTR_PG,
320 DCB_CAP_ATTR_PFC,
Tao Baod7db5942015-01-28 10:07:51 -0800321 DCB_CAP_ATTR_UP2TC,
322 DCB_CAP_ATTR_PG_TCS,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800324 DCB_CAP_ATTR_PFC_TCS,
325 DCB_CAP_ATTR_GSP,
Tao Baod7db5942015-01-28 10:07:51 -0800326 DCB_CAP_ATTR_BCN,
327 DCB_CAP_ATTR_DCBX,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800329 __DCB_CAP_ATTR_ENUM_MAX,
330 DCB_CAP_ATTR_MAX = __DCB_CAP_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700331};
332#define DCB_CAP_DCBX_HOST 0x01
Christopher Ferris05d08e92016-02-04 13:16:38 -0800333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700334#define DCB_CAP_DCBX_LLD_MANAGED 0x02
335#define DCB_CAP_DCBX_VER_CEE 0x04
Ben Cheng655a7c02013-10-16 16:09:24 -0700336#define DCB_CAP_DCBX_VER_IEEE 0x08
337#define DCB_CAP_DCBX_STATIC 0x10
Christopher Ferris05d08e92016-02-04 13:16:38 -0800338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700339enum dcbnl_numtcs_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800340 DCB_NUMTCS_ATTR_UNDEFINED,
Tao Baod7db5942015-01-28 10:07:51 -0800341 DCB_NUMTCS_ATTR_ALL,
342 DCB_NUMTCS_ATTR_PG,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800344 DCB_NUMTCS_ATTR_PFC,
345 __DCB_NUMTCS_ATTR_ENUM_MAX,
Tao Baod7db5942015-01-28 10:07:51 -0800346 DCB_NUMTCS_ATTR_MAX = __DCB_NUMTCS_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700347};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800349enum dcbnl_bcn_attrs {
350 DCB_BCN_ATTR_UNDEFINED = 0,
Tao Baod7db5942015-01-28 10:07:51 -0800351 DCB_BCN_ATTR_RP_0,
352 DCB_BCN_ATTR_RP_1,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800354 DCB_BCN_ATTR_RP_2,
355 DCB_BCN_ATTR_RP_3,
Tao Baod7db5942015-01-28 10:07:51 -0800356 DCB_BCN_ATTR_RP_4,
357 DCB_BCN_ATTR_RP_5,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800359 DCB_BCN_ATTR_RP_6,
360 DCB_BCN_ATTR_RP_7,
Tao Baod7db5942015-01-28 10:07:51 -0800361 DCB_BCN_ATTR_RP_ALL,
362 DCB_BCN_ATTR_BCNA_0,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800364 DCB_BCN_ATTR_BCNA_1,
365 DCB_BCN_ATTR_ALPHA,
Tao Baod7db5942015-01-28 10:07:51 -0800366 DCB_BCN_ATTR_BETA,
367 DCB_BCN_ATTR_GD,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800369 DCB_BCN_ATTR_GI,
370 DCB_BCN_ATTR_TMAX,
Tao Baod7db5942015-01-28 10:07:51 -0800371 DCB_BCN_ATTR_TD,
372 DCB_BCN_ATTR_RMIN,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800374 DCB_BCN_ATTR_W,
375 DCB_BCN_ATTR_RD,
Tao Baod7db5942015-01-28 10:07:51 -0800376 DCB_BCN_ATTR_RU,
377 DCB_BCN_ATTR_WRTT,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800379 DCB_BCN_ATTR_RI,
380 DCB_BCN_ATTR_C,
Tao Baod7db5942015-01-28 10:07:51 -0800381 DCB_BCN_ATTR_ALL,
382 __DCB_BCN_ATTR_ENUM_MAX,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800384 DCB_BCN_ATTR_MAX = __DCB_BCN_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700385};
Ben Cheng655a7c02013-10-16 16:09:24 -0700386enum dcb_general_attr_values {
Tao Baod7db5942015-01-28 10:07:51 -0800387 DCB_ATTR_VALUE_UNDEFINED = 0xff
Christopher Ferris05d08e92016-02-04 13:16:38 -0800388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700389};
390#define DCB_APP_IDTYPE_ETHTYPE 0x00
Ben Cheng655a7c02013-10-16 16:09:24 -0700391#define DCB_APP_IDTYPE_PORTNUM 0x01
392enum dcbnl_app_attrs {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800394 DCB_APP_ATTR_UNDEFINED,
395 DCB_APP_ATTR_IDTYPE,
Tao Baod7db5942015-01-28 10:07:51 -0800396 DCB_APP_ATTR_ID,
397 DCB_APP_ATTR_PRIORITY,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800399 __DCB_APP_ATTR_ENUM_MAX,
400 DCB_APP_ATTR_MAX = __DCB_APP_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700401};
402#define DCB_FEATCFG_ERROR 0x01
Christopher Ferris05d08e92016-02-04 13:16:38 -0800403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700404#define DCB_FEATCFG_ENABLE 0x02
405#define DCB_FEATCFG_WILLING 0x04
Ben Cheng655a7c02013-10-16 16:09:24 -0700406#define DCB_FEATCFG_ADVERTISE 0x08
407enum dcbnl_featcfg_attrs {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800409 DCB_FEATCFG_ATTR_UNDEFINED,
410 DCB_FEATCFG_ATTR_ALL,
Tao Baod7db5942015-01-28 10:07:51 -0800411 DCB_FEATCFG_ATTR_PG,
412 DCB_FEATCFG_ATTR_PFC,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800414 DCB_FEATCFG_ATTR_APP,
415 __DCB_FEATCFG_ATTR_ENUM_MAX,
Tao Baod7db5942015-01-28 10:07:51 -0800416 DCB_FEATCFG_ATTR_MAX = __DCB_FEATCFG_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700417};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700419#endif