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
221 /* Non-std selector values */
229 * @priority: 3-bit unsigned integer indicating priority for IEEE
230 * 8-bit 802.1p user priority bitmap for CEE
232 * ----
234 * 0 Reserved
240 * 6-7 Reserved
243 * 0 Ethertype
245 * 2-3 Reserved
256 * struct dcb_peer_app_info - APP feature information sent by the peer
276 * enum dcbnl_commands - supported DCB commands
351 DCB_CMD_MAX = __DCB_CMD_ENUM_MAX - 1,
355 * enum dcbnl_attrs - DCB top-level netlink attributes
400 DCB_ATTR_MAX = __DCB_ATTR_ENUM_MAX - 1,
404 * enum ieee_attrs - IEEE 802.1Qaz get/set attributes
410 * @DCB_ATTR_IEEE_PEER_ETS: peer ETS configuration - get only
411 * @DCB_ATTR_IEEE_PEER_PFC: peer PFC configuration - get only
412 * @DCB_ATTR_IEEE_PEER_APP: peer APP tlv - get only
432 #define DCB_ATTR_IEEE_MAX (__DCB_ATTR_IEEE_MAX - 1)
440 #define DCB_ATTR_IEEE_APP_MAX (__DCB_ATTR_IEEE_APP_MAX - 1)
443 * enum cee_attrs - CEE DCBX get attributes.
446 * @DCB_ATTR_CEE_PEER_PG: peer PG configuration - get only
447 * @DCB_ATTR_CEE_PEER_PFC: peer PFC configuration - get only
448 * @DCB_ATTR_CEE_PEER_APP_TABLE: peer APP tlv - get only
469 #define DCB_ATTR_CEE_MAX (__DCB_ATTR_CEE_MAX - 1)
477 #define DCB_ATTR_CEE_PEER_APP_MAX (__DCB_ATTR_CEE_PEER_APP_MAX - 1)
484 #define DCB_ATTR_CEE_APP_MAX (__DCB_ATTR_CEE_APP_MAX - 1)
487 * enum dcbnl_pfc_attrs - DCB Priority Flow Control user priority nested attrs
490 * @DCB_PFC_UP_ATTR_0: Priority Flow Control value for User Priority 0 (NLA_U8)
516 DCB_PFC_UP_ATTR_MAX = __DCB_PFC_UP_ATTR_ENUM_MAX - 1,
520 * enum dcbnl_pg_attrs - DCB Priority Group attributes
523 * @DCB_PG_ATTR_TC_0: Priority Group Traffic Class 0 configuration (NLA_NESTED)
533 * @DCB_PG_ATTR_BW_ID_0: Percent of link bandwidth for Priority Group 0 (NLA_U8)
571 DCB_PG_ATTR_MAX = __DCB_PG_ATTR_ENUM_MAX - 1,
575 * enum dcbnl_tc_attrs - DCB Traffic Class attributes
579 * Valid values are: 0-7
584 * 0 - none
585 * 1 - group strict
586 * 2 - link strict
587 * @DCB_TC_ATTR_PARAM_BW_PCT: optional - (NLA_U8) If supported by the device and
604 DCB_TC_ATTR_PARAM_MAX = __DCB_TC_ATTR_PARAM_ENUM_MAX - 1,
608 * enum dcbnl_cap_attrs - DCB Capability attributes
641 DCB_CAP_ATTR_MAX = __DCB_CAP_ATTR_ENUM_MAX - 1,
658 * @DCB_CAP_DCBX_VER_CEE: for a non-host DCBX engine, indicates the engine
661 * @DCB_CAP_DCBX_VER_IEEE: for a non-host DCBX engine, indicates the engine
664 * @DCB_CAP_DCBX_STATIC: for a non-host DCBX engine, indicates the engine
670 #define DCB_CAP_DCBX_HOST 0x01
671 #define DCB_CAP_DCBX_LLD_MANAGED 0x02
672 #define DCB_CAP_DCBX_VER_CEE 0x04
673 #define DCB_CAP_DCBX_VER_IEEE 0x08
674 #define DCB_CAP_DCBX_STATIC 0x10
677 * enum dcbnl_numtcs_attrs - number of traffic classes
693 DCB_NUMTCS_ATTR_MAX = __DCB_NUMTCS_ATTR_ENUM_MAX - 1,
697 DCB_BCN_ATTR_UNDEFINED = 0,
727 DCB_BCN_ATTR_MAX = __DCB_BCN_ATTR_ENUM_MAX - 1,
731 * enum dcb_general_attr_values - general DCB attribute values
737 DCB_ATTR_VALUE_UNDEFINED = 0xff
740 #define DCB_APP_IDTYPE_ETHTYPE 0x00
741 #define DCB_APP_IDTYPE_PORTNUM 0x01
750 DCB_APP_ATTR_MAX = __DCB_APP_ATTR_ENUM_MAX - 1,
754 * enum dcbnl_featcfg_attrs - features conifiguration flags
764 #define DCB_FEATCFG_ERROR 0x01 /* error in feature resolution */
765 #define DCB_FEATCFG_ENABLE 0x02 /* enable feature */
766 #define DCB_FEATCFG_WILLING 0x04 /* feature is willing */
767 #define DCB_FEATCFG_ADVERTISE 0x08 /* advertise feature */
776 DCB_FEATCFG_ATTR_MAX = __DCB_FEATCFG_ATTR_ENUM_MAX - 1,