Lines Matching +full:0 +full:- +full:indexed

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 2008-2011, Intel Corporation.
16 * Place - Suite 330, Boston, MA 02111-1307 USA.
29 #define IEEE_8021QAZ_TSA_STRICT 0
39 * @tc_tx_bw: tc tx bandwidth indexed by traffic class
40 * @tc_rx_bw: tc rx bandwidth indexed by traffic class
41 * @tc_tsa: TSA Assignment table, indexed by traffic class
43 * @tc_reco_bw: recommended tc bandwidth indexed by traffic class for TLV
44 * @tc_reco_tsa: recommended tc bandwidth indexed by traffic class for TLV
45 * @reco_prio_tc: recommended tc tx bandwidth indexed by traffic class for TLV
50 * ----
52 * 0 strict priority
53 * 1 credit-based shaper
55 * 3-254 reserved
76 * @tc_maxrate: maximal tc tx bandwidth indexed by traffic class
83 DCB_CNDD_RESET = 0,
94 * given in u-seconds
109 * value is given as percentage (1-100)
114 * the QCN capable hardware may add CN-TAG TLV to the
136 *@rppp_rp_centiseconds: the number of RP-centiseconds accumulated
152 * @delay: the allowance made for a round-trip propagation delay of the
181 * struct cee_pg - CEE Priority-Group managed object
188 * @prio_pg: priority to PG mapping indexed by priority
200 * struct cee_pfc - CEE PFC managed object
226 * @priority: 3-bit unsigned integer indicating priority for IEEE
227 * 8-bit 802.1p user priority bitmap for CEE
229 * ----
231 * 0 Reserved
237 * 6-7 Reserved
240 * 0 Ethertype
242 * 2-3 Reserved
251 * struct dcb_peer_app_info - APP feature information sent by the peer
271 * enum dcbnl_commands - supported DCB commands
346 DCB_CMD_MAX = __DCB_CMD_ENUM_MAX - 1,
350 * enum dcbnl_attrs - DCB top-level netlink attributes
395 DCB_ATTR_MAX = __DCB_ATTR_ENUM_MAX - 1,
399 * enum ieee_attrs - IEEE 802.1Qaz get/set attributes
405 * @DCB_ATTR_IEEE_PEER_ETS: peer ETS configuration - get only
406 * @DCB_ATTR_IEEE_PEER_PFC: peer PFC configuration - get only
407 * @DCB_ATTR_IEEE_PEER_APP: peer APP tlv - get only
423 #define DCB_ATTR_IEEE_MAX (__DCB_ATTR_IEEE_MAX - 1)
430 #define DCB_ATTR_IEEE_APP_MAX (__DCB_ATTR_IEEE_APP_MAX - 1)
433 * enum cee_attrs - CEE DCBX get attributes.
436 * @DCB_ATTR_CEE_PEER_PG: peer PG configuration - get only
437 * @DCB_ATTR_CEE_PEER_PFC: peer PFC configuration - get only
438 * @DCB_ATTR_CEE_PEER_APP_TABLE: peer APP tlv - get only
459 #define DCB_ATTR_CEE_MAX (__DCB_ATTR_CEE_MAX - 1)
467 #define DCB_ATTR_CEE_PEER_APP_MAX (__DCB_ATTR_CEE_PEER_APP_MAX - 1)
474 #define DCB_ATTR_CEE_APP_MAX (__DCB_ATTR_CEE_APP_MAX - 1)
477 * enum dcbnl_pfc_attrs - DCB Priority Flow Control user priority nested attrs
480 * @DCB_PFC_UP_ATTR_0: Priority Flow Control value for User Priority 0 (NLA_U8)
506 DCB_PFC_UP_ATTR_MAX = __DCB_PFC_UP_ATTR_ENUM_MAX - 1,
510 * enum dcbnl_pg_attrs - DCB Priority Group attributes
513 * @DCB_PG_ATTR_TC_0: Priority Group Traffic Class 0 configuration (NLA_NESTED)
523 * @DCB_PG_ATTR_BW_ID_0: Percent of link bandwidth for Priority Group 0 (NLA_U8)
561 DCB_PG_ATTR_MAX = __DCB_PG_ATTR_ENUM_MAX - 1,
565 * enum dcbnl_tc_attrs - DCB Traffic Class attributes
569 * Valid values are: 0-7
574 * 0 - none
575 * 1 - group strict
576 * 2 - link strict
577 * @DCB_TC_ATTR_PARAM_BW_PCT: optional - (NLA_U8) If supported by the device and
594 DCB_TC_ATTR_PARAM_MAX = __DCB_TC_ATTR_PARAM_ENUM_MAX - 1,
598 * enum dcbnl_cap_attrs - DCB Capability attributes
631 DCB_CAP_ATTR_MAX = __DCB_CAP_ATTR_ENUM_MAX - 1,
648 * @DCB_CAP_DCBX_VER_CEE: for a non-host DCBX engine, indicates the engine
651 * @DCB_CAP_DCBX_VER_IEEE: for a non-host DCBX engine, indicates the engine
654 * @DCB_CAP_DCBX_STATIC: for a non-host DCBX engine, indicates the engine
660 #define DCB_CAP_DCBX_HOST 0x01
661 #define DCB_CAP_DCBX_LLD_MANAGED 0x02
662 #define DCB_CAP_DCBX_VER_CEE 0x04
663 #define DCB_CAP_DCBX_VER_IEEE 0x08
664 #define DCB_CAP_DCBX_STATIC 0x10
667 * enum dcbnl_numtcs_attrs - number of traffic classes
683 DCB_NUMTCS_ATTR_MAX = __DCB_NUMTCS_ATTR_ENUM_MAX - 1,
687 DCB_BCN_ATTR_UNDEFINED = 0,
717 DCB_BCN_ATTR_MAX = __DCB_BCN_ATTR_ENUM_MAX - 1,
721 * enum dcb_general_attr_values - general DCB attribute values
727 DCB_ATTR_VALUE_UNDEFINED = 0xff
730 #define DCB_APP_IDTYPE_ETHTYPE 0x00
731 #define DCB_APP_IDTYPE_PORTNUM 0x01
740 DCB_APP_ATTR_MAX = __DCB_APP_ATTR_ENUM_MAX - 1,
744 * enum dcbnl_featcfg_attrs - features conifiguration flags
754 #define DCB_FEATCFG_ERROR 0x01 /* error in feature resolution */
755 #define DCB_FEATCFG_ENABLE 0x02 /* enable feature */
756 #define DCB_FEATCFG_WILLING 0x04 /* feature is willing */
757 #define DCB_FEATCFG_ADVERTISE 0x08 /* advertise feature */
766 DCB_FEATCFG_ATTR_MAX = __DCB_FEATCFG_ATTR_ENUM_MAX - 1,