1CGDCBXD(8) libcgroup Manual CGDCBXD(8)
2
3
4
6 cgdcbxd - control group dcb event net_prio daemon
7
8
10 cgdcbxd [options]
11
12
14 cgdcbxd is a daemon used to monitor DCB netlink events and manage the
15 net_prio control group subsystem. The daemon keeps the hierarchy and
16 priority mappings in sync with DCBX Application events.
17
18 When a DCB netlink event is received cgdcbxd parses the application TLV
19 and identifies new, updated, and deleted application tuples. The DCBX
20 application TLV uses the selector, protocol ID and priority fields to
21 identify and set application priority. The selector field specifies the
22 protocol ID type supported types are
23
24 Ethertype = 1
25 TCP or SCTP = 2
26 UDP or DCCP = 3
27 TCP, SCTP UDP, and DCCP = 4
28
29 The protocol ID field specifies the port or ethertype depending on the
30 selector field and the priority gives a priority value (0-7). Used to
31 set the net_prio.ifpriomap.
32
33 When a new application tuple is identified cgdcbxd creates a control
34 group under the net_prio subsystem using the directory cgdcbx-<selec‐
35 tor>-<protocolID>.
36
37 The <selector> field uses the IEEE selector values listed above for
38 both CEE DCBX and IEEE DCBX versions.
39
40 This control group will be managed by cgdcbx and the ifpriomap will be
41 kept in sync with the application TLV. If a DCB netlink event removes
42 the application selector-protocolID tuple then cgdcbx removes the con‐
43 trol group.
44
45 This may be used with cgrulesengd to create configuration rules that
46 map applications and users to DCBX selector-protocolID tuples. Note
47 protocol ID and selector values use the well-known protocol type and
48 port or ethertype defined by the IANA (Internet Assigned Numbers
49 Authority) the application are not required to use the well-known ports
50 this is only used to identify the application.
51
52
54 -h Display help.
55
56 -n Don't fork the daemon, stay in the foreground.
57
58 -v Show version
59
61 /etc/cgrules.conf
62 the default libcgroup configuration file
63
65 o IEEE 802.1Qaz (http://www.ieee802.org/1/pages/dcbridges.html) o
66 IANA (http://www.iana.org/assignments/service-names-port-num‐
67 bers/service-names-port-numbers.xml)
68
70 Support for the net_prio subsystem was added in the 3.3 Linux kernel.
71
73 SIGUSR1 dumps list of managed interfaces and control groups with pri‐
74 omaps.
75
77 cgrulesengd(8), cgrules.conf(5) lldpad(8), lldptool(8),
78
80 John Fastabend <john.r.fastabend@intel.com>
81
82
83
84Linux 2012-01-16 CGDCBXD(8)