Top |
NMSettingDcbFlags | app-fcoe-flags | Read / Write |
char * | app-fcoe-mode | Read / Write |
int | app-fcoe-priority | Read / Write |
NMSettingDcbFlags | app-fip-flags | Read / Write |
int | app-fip-priority | Read / Write |
NMSettingDcbFlags | app-iscsi-flags | Read / Write |
int | app-iscsi-priority | Read / Write |
GArray * | priority-bandwidth | Read / Write |
GArray * | priority-flow-control | Read / Write |
NMSettingDcbFlags | priority-flow-control-flags | Read / Write |
GArray * | priority-group-bandwidth | Read / Write |
NMSettingDcbFlags | priority-group-flags | Read / Write |
GArray * | priority-group-id | Read / Write |
GArray * | priority-strict-bandwidth | Read / Write |
GArray * | priority-traffic-class | Read / Write |
#define | NM_SETTING_DCB_SETTING_NAME |
enum | NMSettingDcbFlags |
#define | NM_SETTING_DCB_FCOE_MODE_FABRIC |
#define | NM_SETTING_DCB_FCOE_MODE_VN2VN |
#define | NM_SETTING_DCB_APP_FCOE_FLAGS |
#define | NM_SETTING_DCB_APP_FCOE_PRIORITY |
#define | NM_SETTING_DCB_APP_FCOE_MODE |
#define | NM_SETTING_DCB_APP_ISCSI_FLAGS |
#define | NM_SETTING_DCB_APP_ISCSI_PRIORITY |
#define | NM_SETTING_DCB_APP_FIP_FLAGS |
#define | NM_SETTING_DCB_APP_FIP_PRIORITY |
#define | NM_SETTING_DCB_PRIORITY_FLOW_CONTROL_FLAGS |
#define | NM_SETTING_DCB_PRIORITY_FLOW_CONTROL |
#define | NM_SETTING_DCB_PRIORITY_GROUP_FLAGS |
#define | NM_SETTING_DCB_PRIORITY_GROUP_ID |
#define | NM_SETTING_DCB_PRIORITY_GROUP_BANDWIDTH |
#define | NM_SETTING_DCB_PRIORITY_BANDWIDTH |
#define | NM_SETTING_DCB_PRIORITY_STRICT_BANDWIDTH |
#define | NM_SETTING_DCB_PRIORITY_TRAFFIC_CLASS |
NMSettingDcb |
The NMSettingDcb object is a NMSetting subclass that describes properties for enabling and using Data Center Bridging (DCB) on Ethernet networks. DCB is a set of protocols (including 802.1Qbb, 802.1Qaz, 802.1Qau, and 802.1AB) to eliminate packet loss in Ethernet networks and support the use of storage technologies like Fibre Channel over Ethernet (FCoE) and iSCSI.
NMSetting *
nm_setting_dcb_new (void
);
Creates a new NMSettingDcb object with default values.
NMSettingDcbFlags
nm_setting_dcb_get_app_fcoe_flags (NMSettingDcb *setting
);
int
nm_setting_dcb_get_app_fcoe_priority (NMSettingDcb *setting
);
const char *
nm_setting_dcb_get_app_fcoe_mode (NMSettingDcb *setting
);
NMSettingDcbFlags
nm_setting_dcb_get_app_iscsi_flags (NMSettingDcb *setting
);
int
nm_setting_dcb_get_app_iscsi_priority (NMSettingDcb *setting
);
NMSettingDcbFlags
nm_setting_dcb_get_app_fip_flags (NMSettingDcb *setting
);
int
nm_setting_dcb_get_app_fip_priority (NMSettingDcb *setting
);
NMSettingDcbFlags
nm_setting_dcb_get_priority_flow_control_flags
(NMSettingDcb *setting
);
gboolean nm_setting_dcb_get_priority_flow_control (NMSettingDcb *setting
,guint user_priority
);
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to retrieve flow control for |
void nm_setting_dcb_set_priority_flow_control (NMSettingDcb *setting
,guint user_priority
,gboolean enabled
);
These values are only valid when “priority-flow-control” includes
the NM_SETTING_DCB_FLAG_ENABLE
flag.
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to set flow control for |
|
enabled |
|
NMSettingDcbFlags
nm_setting_dcb_get_priority_group_flags
(NMSettingDcb *setting
);
guint nm_setting_dcb_get_priority_group_id (NMSettingDcb *setting
,guint user_priority
);
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to retrieve the group ID for |
the group number user_priority
is assigned to. These values are
only valid when “priority-group-flags” includes the
NM_SETTING_DCB_FLAG_ENABLE
flag.
void nm_setting_dcb_set_priority_group_id (NMSettingDcb *setting
,guint user_priority
,guint group_id
);
These values are only valid when “priority-group-flags” includes
the NM_SETTING_DCB_FLAG_ENABLE
flag.
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to set flow control for |
|
group_id |
the group (0 - 7) to assign |
guint nm_setting_dcb_get_priority_group_bandwidth (NMSettingDcb *setting
,guint group_id
);
setting |
the NMSettingDcb |
|
group_id |
the priority group (0 - 7) to retrieve the bandwidth percentage for |
the bandwidth percentage assigned to group_id
. These values are
only valid when “priority-group-flags” includes the
NM_SETTING_DCB_FLAG_ENABLE
flag.
void nm_setting_dcb_set_priority_group_bandwidth (NMSettingDcb *setting
,guint group_id
,guint bandwidth_percent
);
These values are only valid when “priority-group-flags” includes
the NM_SETTING_DCB_FLAG_ENABLE
flag.
setting |
the NMSettingDcb |
|
group_id |
the priority group (0 - 7) to set the bandwidth percentage for |
|
bandwidth_percent |
the bandwidth percentage (0 - 100) to assign to |
guint nm_setting_dcb_get_priority_bandwidth (NMSettingDcb *setting
,guint user_priority
);
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to retrieve the group bandwidth percentage for |
the allowed bandwidth percentage of user_priority
in its priority group.
These values are only valid when “priority-group-flags” includes the
NM_SETTING_DCB_FLAG_ENABLE
flag.
void nm_setting_dcb_set_priority_bandwidth (NMSettingDcb *setting
,guint user_priority
,guint bandwidth_percent
);
These values are only valid when “priority-group-flags” includes
the NM_SETTING_DCB_FLAG_ENABLE
flag.
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to set the bandwidth percentage for |
|
bandwidth_percent |
the bandwidth percentage (0 - 100) that |
gboolean nm_setting_dcb_get_priority_strict_bandwidth (NMSettingDcb *setting
,guint user_priority
);
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to retrieve strict bandwidth for |
TRUE
if user_priority
may use all of the bandwidth allocated to its
assigned group, or FALSE
if not. These values are only valid when
“priority-group-flags” includes the NM_SETTING_DCB_FLAG_ENABLE
flag.
void nm_setting_dcb_set_priority_strict_bandwidth (NMSettingDcb *setting
,guint user_priority
,gboolean strict
);
These values are only valid when “priority-group-flags” includes
the NM_SETTING_DCB_FLAG_ENABLE
flag.
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to set strict bandwidth for |
|
strict |
|
guint nm_setting_dcb_get_priority_traffic_class (NMSettingDcb *setting
,guint user_priority
);
setting |
the NMSettingDcb |
|
user_priority |
the User Priority (0 - 7) to retrieve the traffic class for |
the traffic class assigned to user_priority
. These values are only
valid when “priority-group-flags” includes the
NM_SETTING_DCB_FLAG_ENABLE
flag.
void nm_setting_dcb_set_priority_traffic_class (NMSettingDcb *setting
,guint user_priority
,guint traffic_class
);
#define NM_SETTING_DCB_FCOE_MODE_FABRIC "fabric"
Indicates that the FCoE controller should use "fabric" mode (default)
#define NM_SETTING_DCB_FCOE_MODE_VN2VN "vn2vn"
Indicates that the FCoE controller should use "VN2VN" mode.
#define NM_SETTING_DCB_PRIORITY_FLOW_CONTROL_FLAGS "priority-flow-control-flags"
#define NM_SETTING_DCB_PRIORITY_FLOW_CONTROL "priority-flow-control"
#define NM_SETTING_DCB_PRIORITY_GROUP_FLAGS "priority-group-flags"
#define NM_SETTING_DCB_PRIORITY_GROUP_BANDWIDTH "priority-group-bandwidth"
#define NM_SETTING_DCB_PRIORITY_STRICT_BANDWIDTH "priority-strict-bandwidth"
#define NM_SETTING_DCB_PRIORITY_TRAFFIC_CLASS "priority-traffic-class"
“app-fcoe-flags”
property“app-fcoe-flags” NMSettingDcbFlags
Specifies the NMSettingDcbFlags for the DCB FCoE application. Flags may
be any combination of NM_SETTING_DCB_FLAG_ENABLE
,
NM_SETTING_DCB_FLAG_ADVERTISE
, and NM_SETTING_DCB_FLAG_WILLING
.
Owner: NMSettingDcb
Flags: Read / Write
“app-fcoe-mode”
property “app-fcoe-mode” char *
The FCoE controller mode; either NM_SETTING_DCB_FCOE_MODE_FABRIC
(default) or NM_SETTING_DCB_FCOE_MODE_VN2VN
.
Owner: NMSettingDcb
Flags: Read / Write
Default value: "fabric"
“app-fcoe-priority”
property “app-fcoe-priority” int
The highest User Priority (0 - 7) which FCoE frames should use, or -1 for
default priority. Only used when the “app-fcoe-flags”
property includes the NM_SETTING_DCB_FLAG_ENABLE
flag.
Owner: NMSettingDcb
Flags: Read / Write
Allowed values: [-1,7]
Default value: -1
“app-fip-flags”
property“app-fip-flags” NMSettingDcbFlags
Specifies the NMSettingDcbFlags for the DCB FIP application. Flags may
be any combination of NM_SETTING_DCB_FLAG_ENABLE
,
NM_SETTING_DCB_FLAG_ADVERTISE
, and NM_SETTING_DCB_FLAG_WILLING
.
Owner: NMSettingDcb
Flags: Read / Write
“app-fip-priority”
property “app-fip-priority” int
The highest User Priority (0 - 7) which FIP frames should use, or -1 for
default priority. Only used when the “app-fip-flags”
property includes the NM_SETTING_DCB_FLAG_ENABLE
flag.
Owner: NMSettingDcb
Flags: Read / Write
Allowed values: [-1,7]
Default value: -1
“app-iscsi-flags”
property“app-iscsi-flags” NMSettingDcbFlags
Specifies the NMSettingDcbFlags for the DCB iSCSI application. Flags
may be any combination of NM_SETTING_DCB_FLAG_ENABLE
,
NM_SETTING_DCB_FLAG_ADVERTISE
, and NM_SETTING_DCB_FLAG_WILLING
.
Owner: NMSettingDcb
Flags: Read / Write
“app-iscsi-priority”
property “app-iscsi-priority” int
The highest User Priority (0 - 7) which iSCSI frames should use, or -1
for default priority. Only used when the “app-iscsi-flags”
property includes the NM_SETTING_DCB_FLAG_ENABLE
flag.
Owner: NMSettingDcb
Flags: Read / Write
Allowed values: [-1,7]
Default value: -1
“priority-bandwidth”
property“priority-bandwidth” GArray *
An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the percentage of bandwidth of the priority's assigned group that the priority may use. The sum of all percentages for priorities which belong to the same group must total 100 percents.
[type GArray(guint)]
Owner: NMSettingDcb
Flags: Read / Write
“priority-flow-control”
property“priority-flow-control” GArray *
An array of 8 boolean values, where the array index corresponds to the User Priority (0 - 7) and the value indicates whether or not the corresponding priority should transmit priority pause.
[type GArray(gboolean)]
Owner: NMSettingDcb
Flags: Read / Write
“priority-flow-control-flags”
property“priority-flow-control-flags” NMSettingDcbFlags
Specifies the NMSettingDcbFlags for DCB Priority Flow Control (PFC).
Flags may be any combination of NM_SETTING_DCB_FLAG_ENABLE
,
NM_SETTING_DCB_FLAG_ADVERTISE
, and NM_SETTING_DCB_FLAG_WILLING
.
Owner: NMSettingDcb
Flags: Read / Write
“priority-group-bandwidth”
property“priority-group-bandwidth” GArray *
An array of 8 uint values, where the array index corresponds to the Priority Group ID (0 - 7) and the value indicates the percentage of link bandwidth allocated to that group. Allowed values are 0 - 100, and the sum of all values must total 100 percents.
[type GArray(guint)]
Owner: NMSettingDcb
Flags: Read / Write
“priority-group-flags”
property“priority-group-flags” NMSettingDcbFlags
Specifies the NMSettingDcbFlags for DCB Priority Groups. Flags may be
any combination of NM_SETTING_DCB_FLAG_ENABLE
,
NM_SETTING_DCB_FLAG_ADVERTISE
, and NM_SETTING_DCB_FLAG_WILLING
.
Owner: NMSettingDcb
Flags: Read / Write
“priority-group-id”
property“priority-group-id” GArray *
An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the Priority Group ID. Allowed Priority Group ID values are 0 - 7 or 15 for the unrestricted group.
[type GArray(guint)]
Owner: NMSettingDcb
Flags: Read / Write
“priority-strict-bandwidth”
property“priority-strict-bandwidth” GArray *
An array of 8 boolean values, where the array index corresponds to the User Priority (0 - 7) and the value indicates whether or not the priority may use all of the bandwidth allocated to its assigned group.
[type GArray(gboolean)]
Owner: NMSettingDcb
Flags: Read / Write
“priority-traffic-class”
property“priority-traffic-class” GArray *
An array of 8 uint values, where the array index corresponds to the User Priority (0 - 7) and the value indicates the traffic class (0 - 7) to which the priority is mapped.
[type GArray(guint)]
Owner: NMSettingDcb
Flags: Read / Write