blob: 2623b8e425374985cdb7b98a4062082d144f955a [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};
47struct ieee_pfc {
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 __u8 pfc_cap;
50 __u8 pfc_en;
51 __u8 mbc;
52 __u16 delay;
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 __u64 requests[IEEE_8021QAZ_MAX_TCS];
55 __u64 indications[IEEE_8021QAZ_MAX_TCS];
Ben Cheng655a7c02013-10-16 16:09:24 -070056};
57#define CEE_DCBX_MAX_PGS 8
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define CEE_DCBX_MAX_PRIO 8
60struct cee_pg {
Tao Baod7db5942015-01-28 10:07:51 -080061 __u8 willing;
62 __u8 error;
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 __u8 pg_en;
65 __u8 tcs_supported;
66 __u8 pg_bw[CEE_DCBX_MAX_PGS];
67 __u8 prio_pg[CEE_DCBX_MAX_PGS];
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69};
70struct cee_pfc {
Tao Baod7db5942015-01-28 10:07:51 -080071 __u8 willing;
72 __u8 error;
Ben Cheng655a7c02013-10-16 16:09:24 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 __u8 pfc_en;
75 __u8 tcs_supported;
Ben Cheng655a7c02013-10-16 16:09:24 -070076};
77#define IEEE_8021QAZ_APP_SEL_ETHERTYPE 1
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define IEEE_8021QAZ_APP_SEL_STREAM 2
80#define IEEE_8021QAZ_APP_SEL_DGRAM 3
81#define IEEE_8021QAZ_APP_SEL_ANY 4
82struct dcb_app {
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 __u8 selector;
85 __u8 priority;
86 __u16 protocol;
Ben Cheng655a7c02013-10-16 16:09:24 -070087};
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89struct dcb_peer_app_info {
Tao Baod7db5942015-01-28 10:07:51 -080090 __u8 willing;
91 __u8 error;
Ben Cheng655a7c02013-10-16 16:09:24 -070092};
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94struct dcbmsg {
Tao Baod7db5942015-01-28 10:07:51 -080095 __u8 dcb_family;
96 __u8 cmd;
97 __u16 dcb_pad;
Ben Cheng655a7c02013-10-16 16:09:24 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99};
100enum dcbnl_commands {
Tao Baod7db5942015-01-28 10:07:51 -0800101 DCB_CMD_UNDEFINED,
102 DCB_CMD_GSTATE,
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 DCB_CMD_SSTATE,
105 DCB_CMD_PGTX_GCFG,
106 DCB_CMD_PGTX_SCFG,
107 DCB_CMD_PGRX_GCFG,
Ben Cheng655a7c02013-10-16 16:09:24 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800109 DCB_CMD_PGRX_SCFG,
110 DCB_CMD_PFC_GCFG,
111 DCB_CMD_PFC_SCFG,
112 DCB_CMD_SET_ALL,
Ben Cheng655a7c02013-10-16 16:09:24 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800114 DCB_CMD_GPERM_HWADDR,
115 DCB_CMD_GCAP,
116 DCB_CMD_GNUMTCS,
117 DCB_CMD_SNUMTCS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800119 DCB_CMD_PFC_GSTATE,
120 DCB_CMD_PFC_SSTATE,
121 DCB_CMD_BCN_GCFG,
122 DCB_CMD_BCN_SCFG,
Ben Cheng655a7c02013-10-16 16:09:24 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800124 DCB_CMD_GAPP,
125 DCB_CMD_SAPP,
126 DCB_CMD_IEEE_SET,
127 DCB_CMD_IEEE_GET,
Ben Cheng655a7c02013-10-16 16:09:24 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800129 DCB_CMD_GDCBX,
130 DCB_CMD_SDCBX,
131 DCB_CMD_GFEATCFG,
132 DCB_CMD_SFEATCFG,
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_CEE_GET,
135 DCB_CMD_IEEE_DEL,
136 __DCB_CMD_ENUM_MAX,
137 DCB_CMD_MAX = __DCB_CMD_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139};
140enum dcbnl_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800141 DCB_ATTR_UNDEFINED,
142 DCB_ATTR_IFNAME,
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_ATTR_STATE,
145 DCB_ATTR_PFC_STATE,
146 DCB_ATTR_PFC_CFG,
147 DCB_ATTR_NUM_TC,
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_ATTR_PG_CFG,
150 DCB_ATTR_SET_ALL,
151 DCB_ATTR_PERM_HWADDR,
152 DCB_ATTR_CAP,
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_ATTR_NUMTCS,
155 DCB_ATTR_BCN,
156 DCB_ATTR_APP,
157 DCB_ATTR_IEEE,
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_ATTR_DCBX,
160 DCB_ATTR_FEATCFG,
161 DCB_ATTR_CEE,
162 __DCB_ATTR_ENUM_MAX,
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_ATTR_MAX = __DCB_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700165};
166enum ieee_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800167 DCB_ATTR_IEEE_UNSPEC,
Ben Cheng655a7c02013-10-16 16:09:24 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800169 DCB_ATTR_IEEE_ETS,
170 DCB_ATTR_IEEE_PFC,
171 DCB_ATTR_IEEE_APP_TABLE,
172 DCB_ATTR_IEEE_PEER_ETS,
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_IEEE_PEER_PFC,
175 DCB_ATTR_IEEE_PEER_APP,
176 DCB_ATTR_IEEE_MAXRATE,
177 __DCB_ATTR_IEEE_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179};
180#define DCB_ATTR_IEEE_MAX (__DCB_ATTR_IEEE_MAX - 1)
181enum ieee_attrs_app {
Tao Baod7db5942015-01-28 10:07:51 -0800182 DCB_ATTR_IEEE_APP_UNSPEC,
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_IEEE_APP,
185 __DCB_ATTR_IEEE_APP_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700186};
187#define DCB_ATTR_IEEE_APP_MAX (__DCB_ATTR_IEEE_APP_MAX - 1)
188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189enum cee_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800190 DCB_ATTR_CEE_UNSPEC,
191 DCB_ATTR_CEE_PEER_PG,
192 DCB_ATTR_CEE_PEER_PFC,
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_CEE_PEER_APP_TABLE,
195 DCB_ATTR_CEE_TX_PG,
196 DCB_ATTR_CEE_RX_PG,
197 DCB_ATTR_CEE_PFC,
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_CEE_APP_TABLE,
200 DCB_ATTR_CEE_FEAT,
201 __DCB_ATTR_CEE_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700202};
203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204#define DCB_ATTR_CEE_MAX (__DCB_ATTR_CEE_MAX - 1)
205enum peer_app_attr {
Tao Baod7db5942015-01-28 10:07:51 -0800206 DCB_ATTR_CEE_PEER_APP_UNSPEC,
207 DCB_ATTR_CEE_PEER_APP_INFO,
Ben Cheng655a7c02013-10-16 16:09:24 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800209 DCB_ATTR_CEE_PEER_APP,
210 __DCB_ATTR_CEE_PEER_APP_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700211};
212#define DCB_ATTR_CEE_PEER_APP_MAX (__DCB_ATTR_CEE_PEER_APP_MAX - 1)
213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214enum cee_attrs_app {
Tao Baod7db5942015-01-28 10:07:51 -0800215 DCB_ATTR_CEE_APP_UNSPEC,
216 DCB_ATTR_CEE_APP,
217 __DCB_ATTR_CEE_APP_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219};
220#define DCB_ATTR_CEE_APP_MAX (__DCB_ATTR_CEE_APP_MAX - 1)
221enum dcbnl_pfc_up_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800222 DCB_PFC_UP_ATTR_UNDEFINED,
Ben Cheng655a7c02013-10-16 16:09:24 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800224 DCB_PFC_UP_ATTR_0,
225 DCB_PFC_UP_ATTR_1,
226 DCB_PFC_UP_ATTR_2,
227 DCB_PFC_UP_ATTR_3,
Ben Cheng655a7c02013-10-16 16:09:24 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800229 DCB_PFC_UP_ATTR_4,
230 DCB_PFC_UP_ATTR_5,
231 DCB_PFC_UP_ATTR_6,
232 DCB_PFC_UP_ATTR_7,
Ben Cheng655a7c02013-10-16 16:09:24 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800234 DCB_PFC_UP_ATTR_ALL,
235 __DCB_PFC_UP_ATTR_ENUM_MAX,
236 DCB_PFC_UP_ATTR_MAX = __DCB_PFC_UP_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700237};
238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239enum dcbnl_pg_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800240 DCB_PG_ATTR_UNDEFINED,
241 DCB_PG_ATTR_TC_0,
242 DCB_PG_ATTR_TC_1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800244 DCB_PG_ATTR_TC_2,
245 DCB_PG_ATTR_TC_3,
246 DCB_PG_ATTR_TC_4,
247 DCB_PG_ATTR_TC_5,
Ben Cheng655a7c02013-10-16 16:09:24 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800249 DCB_PG_ATTR_TC_6,
250 DCB_PG_ATTR_TC_7,
251 DCB_PG_ATTR_TC_MAX,
252 DCB_PG_ATTR_TC_ALL,
Ben Cheng655a7c02013-10-16 16:09:24 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800254 DCB_PG_ATTR_BW_ID_0,
255 DCB_PG_ATTR_BW_ID_1,
256 DCB_PG_ATTR_BW_ID_2,
257 DCB_PG_ATTR_BW_ID_3,
Ben Cheng655a7c02013-10-16 16:09:24 -0700258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800259 DCB_PG_ATTR_BW_ID_4,
260 DCB_PG_ATTR_BW_ID_5,
261 DCB_PG_ATTR_BW_ID_6,
262 DCB_PG_ATTR_BW_ID_7,
Ben Cheng655a7c02013-10-16 16:09:24 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800264 DCB_PG_ATTR_BW_ID_MAX,
265 DCB_PG_ATTR_BW_ID_ALL,
266 __DCB_PG_ATTR_ENUM_MAX,
267 DCB_PG_ATTR_MAX = __DCB_PG_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269};
270enum dcbnl_tc_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800271 DCB_TC_ATTR_PARAM_UNDEFINED,
272 DCB_TC_ATTR_PARAM_PGID,
Ben Cheng655a7c02013-10-16 16:09:24 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800274 DCB_TC_ATTR_PARAM_UP_MAPPING,
275 DCB_TC_ATTR_PARAM_STRICT_PRIO,
276 DCB_TC_ATTR_PARAM_BW_PCT,
277 DCB_TC_ATTR_PARAM_ALL,
Ben Cheng655a7c02013-10-16 16:09:24 -0700278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800279 __DCB_TC_ATTR_PARAM_ENUM_MAX,
280 DCB_TC_ATTR_PARAM_MAX = __DCB_TC_ATTR_PARAM_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700281};
282enum dcbnl_cap_attrs {
283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800284 DCB_CAP_ATTR_UNDEFINED,
285 DCB_CAP_ATTR_ALL,
286 DCB_CAP_ATTR_PG,
287 DCB_CAP_ATTR_PFC,
Ben Cheng655a7c02013-10-16 16:09:24 -0700288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800289 DCB_CAP_ATTR_UP2TC,
290 DCB_CAP_ATTR_PG_TCS,
291 DCB_CAP_ATTR_PFC_TCS,
292 DCB_CAP_ATTR_GSP,
Ben Cheng655a7c02013-10-16 16:09:24 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800294 DCB_CAP_ATTR_BCN,
295 DCB_CAP_ATTR_DCBX,
296 __DCB_CAP_ATTR_ENUM_MAX,
297 DCB_CAP_ATTR_MAX = __DCB_CAP_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299};
300#define DCB_CAP_DCBX_HOST 0x01
301#define DCB_CAP_DCBX_LLD_MANAGED 0x02
302#define DCB_CAP_DCBX_VER_CEE 0x04
303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304#define DCB_CAP_DCBX_VER_IEEE 0x08
305#define DCB_CAP_DCBX_STATIC 0x10
306enum dcbnl_numtcs_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800307 DCB_NUMTCS_ATTR_UNDEFINED,
Ben Cheng655a7c02013-10-16 16:09:24 -0700308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800309 DCB_NUMTCS_ATTR_ALL,
310 DCB_NUMTCS_ATTR_PG,
311 DCB_NUMTCS_ATTR_PFC,
312 __DCB_NUMTCS_ATTR_ENUM_MAX,
Ben Cheng655a7c02013-10-16 16:09:24 -0700313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800314 DCB_NUMTCS_ATTR_MAX = __DCB_NUMTCS_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700315};
Tao Baod7db5942015-01-28 10:07:51 -0800316enum dcbnl_bcn_attrs {
317 DCB_BCN_ATTR_UNDEFINED = 0,
Ben Cheng655a7c02013-10-16 16:09:24 -0700318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800319 DCB_BCN_ATTR_RP_0,
320 DCB_BCN_ATTR_RP_1,
321 DCB_BCN_ATTR_RP_2,
322 DCB_BCN_ATTR_RP_3,
Ben Cheng655a7c02013-10-16 16:09:24 -0700323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800324 DCB_BCN_ATTR_RP_4,
325 DCB_BCN_ATTR_RP_5,
326 DCB_BCN_ATTR_RP_6,
327 DCB_BCN_ATTR_RP_7,
Ben Cheng655a7c02013-10-16 16:09:24 -0700328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800329 DCB_BCN_ATTR_RP_ALL,
330 DCB_BCN_ATTR_BCNA_0,
331 DCB_BCN_ATTR_BCNA_1,
332 DCB_BCN_ATTR_ALPHA,
Ben Cheng655a7c02013-10-16 16:09:24 -0700333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800334 DCB_BCN_ATTR_BETA,
335 DCB_BCN_ATTR_GD,
336 DCB_BCN_ATTR_GI,
337 DCB_BCN_ATTR_TMAX,
Ben Cheng655a7c02013-10-16 16:09:24 -0700338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800339 DCB_BCN_ATTR_TD,
340 DCB_BCN_ATTR_RMIN,
341 DCB_BCN_ATTR_W,
342 DCB_BCN_ATTR_RD,
Ben Cheng655a7c02013-10-16 16:09:24 -0700343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800344 DCB_BCN_ATTR_RU,
345 DCB_BCN_ATTR_WRTT,
346 DCB_BCN_ATTR_RI,
347 DCB_BCN_ATTR_C,
Ben Cheng655a7c02013-10-16 16:09:24 -0700348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800349 DCB_BCN_ATTR_ALL,
350 __DCB_BCN_ATTR_ENUM_MAX,
351 DCB_BCN_ATTR_MAX = __DCB_BCN_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700352};
353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354enum dcb_general_attr_values {
Tao Baod7db5942015-01-28 10:07:51 -0800355 DCB_ATTR_VALUE_UNDEFINED = 0xff
Ben Cheng655a7c02013-10-16 16:09:24 -0700356};
357#define DCB_APP_IDTYPE_ETHTYPE 0x00
358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359#define DCB_APP_IDTYPE_PORTNUM 0x01
360enum dcbnl_app_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800361 DCB_APP_ATTR_UNDEFINED,
362 DCB_APP_ATTR_IDTYPE,
Ben Cheng655a7c02013-10-16 16:09:24 -0700363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800364 DCB_APP_ATTR_ID,
365 DCB_APP_ATTR_PRIORITY,
366 __DCB_APP_ATTR_ENUM_MAX,
367 DCB_APP_ATTR_MAX = __DCB_APP_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369};
370#define DCB_FEATCFG_ERROR 0x01
371#define DCB_FEATCFG_ENABLE 0x02
372#define DCB_FEATCFG_WILLING 0x04
373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374#define DCB_FEATCFG_ADVERTISE 0x08
375enum dcbnl_featcfg_attrs {
Tao Baod7db5942015-01-28 10:07:51 -0800376 DCB_FEATCFG_ATTR_UNDEFINED,
377 DCB_FEATCFG_ATTR_ALL,
Ben Cheng655a7c02013-10-16 16:09:24 -0700378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800379 DCB_FEATCFG_ATTR_PG,
380 DCB_FEATCFG_ATTR_PFC,
381 DCB_FEATCFG_ATTR_APP,
382 __DCB_FEATCFG_ATTR_ENUM_MAX,
Ben Cheng655a7c02013-10-16 16:09:24 -0700383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800384 DCB_FEATCFG_ATTR_MAX = __DCB_FEATCFG_ATTR_ENUM_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700385};
386#endif