-
Notifications
You must be signed in to change notification settings - Fork 0
/
cgdcbxd.8
92 lines (77 loc) · 2.56 KB
/
cgdcbxd.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.TH CGDCBXD 8 2012-01-16 "Linux" "libcgroup Manual"
.SH NAME
cgdcbxd \- control group dcb event net_prio daemon
.SH SYNOPSIS
\fBcgdcbxd\fR [options]
.SH DESCRIPTION
\fBcgdcbxd\fR is a daemon used to monitor DCB netlink events and manage the
net_prio control group subsystem. The daemon keeps the hierarchy and priority
mappings in sync with DCBX Application events.
When a DCB netlink event is received \fBcgdcbxd\fR parses the application TLV
and identifies new, updated, and deleted application tuples. The DCBX
application TLV uses the selector, protocol ID and priority fields to identify
and set application priority. The \fBselector\fR field specifies the protocol ID
type supported types are
.in
.B Ethertype =
1
.in
.B TCP or SCTP =
2
.in
.B UDP or DCCP =
3
.in
.B TCP, SCTP UDP, and DCCP =
4
The \fBprotocol ID\fR field specifies the port or ethertype depending on the
selector field and the \fBpriority\fR gives a priority value (0-7). Used to set
the net_prio.ifpriomap.
When a new application tuple is identified \fBcgdcbxd\fR creates a control group
under the net_prio subsystem using the directory
\fBcgdcbx-<selector>-<protocolID>\fR.
The \fB<selector>\fR field uses the IEEE selector values listed above for both CEE
DCBX and IEEE DCBX versions.
This control group will be managed by \fBcgdcbx\fR and the \fBifpriomap\fR will
be kept in sync with the application TLV. If a DCB netlink event removes the
application selector-protocolID tuple then \fBcgdcbx\fR removes the control
group.
This may be used with \fBcgrulesengd\fR to create configuration rules that map
applications and users to DCBX selector-protocolID tuples. Note protocol ID and
selector values use the well-known protocol type and port or ethertype defined
by the IANA (Internet Assigned Numbers Authority) the application are not
required to use the well-known ports this is only used to identify the application.
.SH OPTIONS
.TP
.B -h
Display help.
.TP
.B -n
Don't fork the daemon, stay in the foreground.
.TP
.B -v
Show version
.SH FILES
.LP
.PD .1v
.TP 20
.B /etc/cgrules.conf
.TP
the default libcgroup configuration file
.SH SOURCES
.TP
o
IEEE 802.1Qaz (http://www.ieee802.org/1/pages/dcbridges.html)
o
IANA (http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml)
.SH NOTES
Support for the net_prio subsystem was added in the 3.3 Linux kernel.
.SH Signals
\fBSIGUSR1\fR dumps list of managed interfaces and control groups with priomaps.
.SH SEE ALSO
.BR cgrulesengd (8),
.BR cgrules.conf (5)
.BR lldpad (8),
.BR lldptool (8),
.SH AUTHOR
John Fastabend <[email protected]>