DCB-PFC(8)
okay bestie, this is the dcb-pfc man page (section 8) ๐
๐ NAME ๐
dcb-pfc โ show / manipulate PFC (Priority-based Flow Control) settings of the DCB (Data Center Bridging) subsystem โจ
๐ง SYNOPSIS ๐ง
dcb [ OPTIONS ] pfc { COMMAND | help }
dcb pfc show dev DEV [ pfc-cap ] [ prio-pfc ] [ macsec-bypass ] [ delay
] [ requests ] [ indications ]
dcb pfc set dev DEV [ prio-pfc PFC-MAP ] [ macsec-bypass { on | off } ]
[ delay INTEGER ]
PFC-MAP := [ PFC-MAP ] PFC-MAPPING
PFC-MAPPING := { PRIO | all }:{ on | off }
PRIO := { 0 .. 7 }
๐ฆ DESCRIPTION ๐ฆ
okay so dcb pfc is the tool you use to configure Priority-based Flow Control attributes through the Linux DCB (Data Center Bridging) interface ๐
PFC lets you mark flows with a certain priority as lossless, and it also holds the related configuration and the PFC counters. literally the whole vibe ๐ธ
๐ PARAMETERS ๐
ngl this part is a little detailed, but it's important! For read-write parameters, we only describe the write direction, which means how it works with the set command. For the show command, you just use the parameter name as a simple keyword with no extra arguments. That tells the tool to show you the value of that parameter. If you don't give any parameters at all, the tool shows the complete PFC configuration ๐
pfc-capโ a read-only property that shows the number of traffic classes that may simultaneously support PFC ๐requestsโ a read-only count of the sent PFC frames per traffic class. It only shows up when-sis given, or when you ask for it explicitly ๐คindicationsโ a read-only count of the received PFC frames per traffic class. Same deal: it only shows up when-sis given, or when you request it explicitly ๐ฅmacsec-bypass { on | off }โ whether the sending station is capable of bypassing MACsec processing when MACsec is disabled ๐prio-pfc PFC-MAPโPFC-MAPuses the array parameter syntax, so check out dcb(8) for the full details ๐ง The keys are priorities, and the values areon/offindicators of whether PFC is enabled for that priority ๐delay INTEGERโ the allowance made for round-trip propagation delay of the link, measured in bits. The value shall be0..65535โฑ๏ธ
๐ EXAMPLE & USAGE ๐
ok this is the fun part, let's see it in action โจ
Enable PFC on priorities 6 and 7, leaving the rest intact:
# dcb pfc set dev eth0 prio-pfc 6:on 7:on
Disable PFC of all priorities except 6 and 7, and configure delay to 4096 bits:
# dcb pfc set dev eth0 prio-pfc all:off 6:on 7:on delay 0x1000
Show what was set:
# dcb pfc show dev eth0
pfc-cap 8 macsec-bypass off delay 4096
prio-pfc 0:off 1:off 2:off 3:off 4:off 5:off 6:on 7:on
๐ EXIT STATUS ๐
Exit status is 0 if the command was successful, or a positive integer upon failure. so if you get anything other than 0, something didn't slay ๐
๐ SEE ALSO ๐
dcb(8) ๐ซถ
๐ REPORTING BUGS ๐
found a bug? bestie, report it! Send it to the Network Developers mailing list <netdev@vger.kernel.org>, which is where the development and maintenance is primarily done. You do not have to be subscribed to the list to send a message there ๐ฌ
๐ AUTHOR ๐
Petr Machata <me@pmachata.org> ๐
that's the tea, bestie! โ This page is from iproute2, last updated 31 October 2020, and it's all about DCB-PFC(8) ๐๐๐ฆ
๐ฆ where this page comes from
- alpine 3.22: iproute2-doc 6.15.0-r0 ยท GPL-2.0-or-later
- alpine 3.23: iproute2-doc 6.17.0-r0 ยท GPL-2.0-or-later
- alpine 3.24: iproute2-doc 7.0.0-r0 ยท GPL-2.0-or-later
- arch rolling: iproute2 7.2.0-1
- arch rolling: iproute2 7.3.0-1 ยท GPL-2.0-or-later
- centos-stream 10: iproute 7.0.0-2.el10 ยท GPL-2.0-or-later AND NIST-PD
- centos-stream 9: iproute 6.17.0-3.el9 ยท GPL-2.0-or-later AND NIST-PD
- debian bookworm: iproute2 6.1.0-3 ยท GPL-2.0-only
- debian trixie: iproute2 6.15.0-1 ยท GPL-2.0-only
- fedora 43: iproute 6.14.0-2.fc43 ยท GPL-2.0-or-later AND NIST-PD
- fedora 44: iproute 6.17.0-2.fc44 ยท GPL-2.0-or-later AND NIST-PD
- nixos 26.05: iproute2 7.0.0
- nixpkgs unstable: iproute2 7.2.0
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- ubuntu jammy: iproute2 5.15.0-1ubuntu2 ยท GPL-2.0-only
- ubuntu jammy: iproute2 5.15.0-1ubuntu2.2 ยท GPL-2.0-only
- ubuntu noble: iproute2 6.1.0-1ubuntu6 ยท GPL-2.0-only
- ubuntu noble: iproute2 6.1.0-1ubuntu6.4 ยท GPL-2.0-only
- ubuntu questing: iproute2 6.16.0-1ubuntu2
- ubuntu questing: iproute2 6.16.0-1ubuntu2.1 ยท GPL-2.0-only
- ubuntu questing: iproute2 6.16.0-1ubuntu2.2
- ubuntu resolute: iproute2 6.19.0-1ubuntu1 ยท GPL-2.0-only
- ubuntu resolute: iproute2 6.19.0-1ubuntu1.1 ยท GPL-2.0-only
- ubuntu stonking: iproute2 7.2.0-1ubuntu1 ยท GPL-2.0-only
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms