{"id":3409,"date":"2022-12-20T17:02:36","date_gmt":"2022-12-20T20:02:36","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/dcb-pfc-man8\/"},"modified":"2022-12-20T17:02:36","modified_gmt":"2022-12-20T20:02:36","slug":"dcb-pfc-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/dcb-pfc-man8\/","title":{"rendered":"DCB-PFC (man8)"},"content":{"rendered":"<h1 align=\"center\">DCB-PFC<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#PARAMETERS\">PARAMETERS<\/a><br \/> <a href=\"#EXAMPLE &#038; USAGE\">EXAMPLE &#038; USAGE<\/a><br \/> <a href=\"#EXIT STATUS\">EXIT STATUS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#REPORTING BUGS\">REPORTING BUGS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">dcb-pfc \u2212 show \/ manipulate PFC (Priority-based Flow Control) settings of the DCB (Data Center Bridging) subsystem<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>dcb<\/b> [ <i>OPTIONS<\/i> ] <b>pfc<\/b> { <i>COMMAND<\/i> | <i>help<\/i> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>dcb pfc show dev<\/b> DEV [ <b>pfc-cap<\/b> ] [ <b>prio-pfc<\/b> ] [ <b>macsec-bypass<\/b> ] [ <b>delay<\/b> ] [ <b>requests<\/b> ] [ <b>indications<\/b> ]<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>dcb pfc set dev<\/b> DEV [ <b>prio-pfc<\/b> <i>PFC-MAP<\/i> ] [ <b>macsec-bypass<\/b> { <b>on<\/b> | <b>off<\/b> } ] [ <b>delay<\/b> <i>INTEGER<\/i> ]<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>PFC-MAP<\/i> := [ <i>PFC-MAP<\/i> ] <i>PFC-MAPPING<\/i><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>PFC-MAPPING<\/i> := { <i>PRIO<\/i> | <b>all<\/b> }<b>:<\/b>{ <b>on<\/b> | <b>off<\/b> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>PRIO<\/i> := { <b>0<\/b> .. <b>7<\/b> }<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dcb pfc<\/b> is used to configure Priority-based Flow Control attributes through Linux DCB (Data Center Bridging) interface. PFC permits marking flows with a certain priority as lossless, and holds related configuration, as well as PFC counters.<\/p>\n<h2>PARAMETERS <a name=\"PARAMETERS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">For read-write parameters, the following describes only the write direction, i.e. as used with the <b>set<\/b> command. For the <b>show<\/b> command, the parameter name is to be used as a simple keyword without further arguments. This instructs the tool to show the value of a given parameter. When no parameters are given, the tool shows the complete PFC configuration. <b><br \/> pfc-cap<\/b><\/p>\n<p style=\"margin-left:22%;\">A read-only property that shows the number of traffic classes that may simultaneously support PFC.<\/p>\n<p style=\"margin-left:11%;\"><b>requests<\/b><\/p>\n<p style=\"margin-left:22%;\">A read-only count of the sent PFC frames per traffic class. Only shown when -s is given, or when requested explicitly.<\/p>\n<p style=\"margin-left:11%;\"><b>indications<\/b><\/p>\n<p style=\"margin-left:22%;\">A read-only count of the received PFC frames per traffic class. Only shown when -s is given, or when requested explicitly.<\/p>\n<p style=\"margin-left:11%;\"><b>macsec-bypass<\/b> { <b>on<\/b> | <b>off<\/b> }<\/p>\n<p style=\"margin-left:22%;\">Whether the sending station is capable of bypassing MACsec processing when MACsec is disabled.<\/p>\n<p style=\"margin-left:11%;\"><b>prio-pfc<\/b> <i>PFC-MAP<\/i><\/p>\n<p style=\"margin-left:22%;\"><i>PFC-MAP<\/i> uses the array parameter syntax, see <b>dcb<\/b>(8) for details. Keys are priorities, values are on \/ off indicators of whether PFC is enabled for a given priority.<\/p>\n<p style=\"margin-left:11%;\"><b>delay<\/b> <i>INTEGER<\/i><\/p>\n<p style=\"margin-left:22%;\">The allowance made for round-trip propagation delay of the link in bits. The value shall be 0..65535.<\/p>\n<h2>EXAMPLE &#038; USAGE <a name=\"EXAMPLE &#038; USAGE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Enable PFC on priorities 6 and 7, leaving the rest intact:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"># dcb pfc set dev eth0 prio-pfc 6:on 7:on<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Disable PFC of all priorities except 6 and 7, and configure delay to 4096 bits:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"># dcb pfc set dev eth0 prio-pfc all:off 6:on 7:on delay 0x1000<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Show what was set:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"># dcb pfc show dev eth0 <br \/> pfc-cap 8 macsec-bypass off delay 4096 <br \/> prio-pfc 0:off 1:off 2:off 3:off 4:off 5:off 6:on 7:on<\/p>\n<h2>EXIT STATUS <a name=\"EXIT STATUS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Exit status is 0 if command was successful or a positive integer upon failure.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dcb<\/b>(8)<\/p>\n<h2>REPORTING BUGS <a name=\"REPORTING BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Report any bugs to the Network Developers mailing list <b><netdev@vger.kernel.org><\/b> where the development and maintenance is primarily done. You do not have to be subscribed to the list to send a message there.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Petr Machata <me@pmachata.org><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  dcb-pfc \u2212 show \/ manipulate PFC (Priority-based Flow Control) settings of the DCB (Data Center Bridging) subsystem <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,537,4],"class_list":["post-3409","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-dcb-pfc","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3409"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3409\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}