Blame cgdcbxd.8

Packit 84c3e8
.TH CGDCBXD  8 2012-01-16 "Linux" "libcgroup Manual"
Packit 84c3e8
.SH NAME
Packit 84c3e8
cgdcbxd \- control group dcb event net_prio daemon
Packit 84c3e8
Packit 84c3e8
.SH SYNOPSIS
Packit 84c3e8
\fBcgdcbxd\fR [options]
Packit 84c3e8
Packit 84c3e8
.SH DESCRIPTION
Packit 84c3e8
\fBcgdcbxd\fR is a daemon used to monitor DCB netlink events and manage the
Packit 84c3e8
net_prio control group subsystem. The daemon keeps the hierarchy and priority
Packit 84c3e8
mappings in sync with DCBX Application events.
Packit 84c3e8
Packit 84c3e8
When a DCB netlink event is received \fBcgdcbxd\fR parses the application TLV
Packit 84c3e8
and identifies new, updated, and deleted application tuples. The DCBX
Packit 84c3e8
application TLV uses the selector, protocol ID and priority fields to identify
Packit 84c3e8
and set application priority. The \fBselector\fR field specifies the protocol ID
Packit 84c3e8
type supported types are
Packit 84c3e8
Packit 84c3e8
.in
Packit 84c3e8
.B Ethertype =
Packit 84c3e8
1
Packit 84c3e8
.in
Packit 84c3e8
.B TCP or SCTP =
Packit 84c3e8
2
Packit 84c3e8
.in
Packit 84c3e8
.B UDP or DCCP =
Packit 84c3e8
3
Packit 84c3e8
.in
Packit 84c3e8
.B TCP, SCTP UDP, and DCCP =
Packit 84c3e8
4
Packit 84c3e8
Packit 84c3e8
The \fBprotocol ID\fR field specifies the port or ethertype depending on the
Packit 84c3e8
selector field and the \fBpriority\fR gives a priority value (0-7). Used to set
Packit 84c3e8
the net_prio.ifpriomap.
Packit 84c3e8
Packit 84c3e8
When a new application tuple is identified \fBcgdcbxd\fR creates a control group
Packit 84c3e8
under the net_prio subsystem using the directory
Packit 84c3e8
\fBcgdcbx-<selector>-<protocolID>\fR.
Packit 84c3e8
Packit 84c3e8
The \fB<selector>\fR field uses the IEEE selector values listed above for both CEE
Packit 84c3e8
DCBX and IEEE DCBX versions.
Packit 84c3e8
Packit 84c3e8
This control group will be managed by \fBcgdcbx\fR and the \fBifpriomap\fR will
Packit 84c3e8
be kept in sync with the application TLV. If a DCB netlink event removes the
Packit 84c3e8
application selector-protocolID tuple then \fBcgdcbx\fR removes the control
Packit 84c3e8
group.
Packit 84c3e8
Packit 84c3e8
This may be used with \fBcgrulesengd\fR to create configuration rules that map
Packit 84c3e8
applications and users to DCBX selector-protocolID tuples. Note protocol ID and
Packit 84c3e8
selector values use the well-known protocol type and port or ethertype defined
Packit 84c3e8
by the IANA (Internet Assigned Numbers Authority) the application are not
Packit 84c3e8
required to use the well-known ports this is only used to identify the application.
Packit 84c3e8
Packit 84c3e8
.SH OPTIONS
Packit 84c3e8
.TP
Packit 84c3e8
.B -h
Packit 84c3e8
Display help.
Packit 84c3e8
.TP
Packit 84c3e8
.B -n
Packit 84c3e8
Don't fork the daemon, stay in the foreground.
Packit 84c3e8
.TP
Packit 84c3e8
.B -v
Packit 84c3e8
Show version
Packit 84c3e8
.SH FILES
Packit 84c3e8
.LP
Packit 84c3e8
.PD .1v
Packit 84c3e8
.TP 20
Packit 84c3e8
.B /etc/cgrules.conf
Packit 84c3e8
.TP
Packit 84c3e8
the default libcgroup configuration file
Packit 84c3e8
Packit 84c3e8
.SH SOURCES
Packit 84c3e8
.TP
Packit 84c3e8
o
Packit 84c3e8
IEEE 802.1Qaz (http://www.ieee802.org/1/pages/dcbridges.html)
Packit 84c3e8
o
Packit 84c3e8
IANA (http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml)
Packit 84c3e8
Packit 84c3e8
.SH NOTES
Packit 84c3e8
Support for the net_prio subsystem was added in the 3.3 Linux kernel.
Packit 84c3e8
Packit 84c3e8
.SH Signals
Packit 84c3e8
\fBSIGUSR1\fR dumps list of managed interfaces and control groups with priomaps.
Packit 84c3e8
Packit 84c3e8
.SH SEE ALSO
Packit 84c3e8
.BR cgrulesengd (8),
Packit 84c3e8
.BR cgrules.conf (5)
Packit 84c3e8
.BR lldpad (8),
Packit 84c3e8
.BR lldptool (8),
Packit 84c3e8
Packit 84c3e8
.SH AUTHOR
Packit 84c3e8
John Fastabend <john.r.fastabend@intel.com>