DEVLINK-LC(8)
โจ DEVLINK-LC(8) โจ โ NAME
okay bestie, this is the manual page for devlink-lc ๐ it's all about devlink line card configuration ๐
๐ธ SYNOPSIS ๐ธ
Here are the ways you can call it, no cap ๐
devlink [ OPTIONS ] lc { COMMAND | help }
OPTIONS := { -V[ersion] }
devlink lc set DEV lc LC_INDEX [ type { LC_TYPE | notype } ]
devlink lc show [ DEV [ lc LC_INDEX ] ]
devlink lc help
๐ฆ DESCRIPTION ๐ฆ
๐ devlink lc set - change line card attributes ๐
okay so this one is how you change line card stuff โจ
DEVโ this is the devlink device you wanna operate on ๐ซถ
Format is:
BUS_NAME/BUS_ADDRESS
lc LC_INDEXโ the index of the line card slot you want to set ๐งtype { LC_TYPE | notype }โ the type of line card you wanna provision ๐ every driver brings its own list of supported line card types, and you can see them in the output ofdevlink lc showso go peek ๐
๐ devlink lc show - display line card attributes ๐
this one just lets you look at line card attributes, lowkey the easiest one ๐
DEVโ the devlink device you wanna operate on ๐ if you leave this AND thelcargument out, you get all the line cards from all the devices, main character energy ๐lc LC_INDEXโ the index of the line card slot you wanna show ๐
๐ EXAMPLES ๐
Okay these are literally the best part, iykyk ๐ญ
devlink lc showShows the state of all line cards on the system โจdevlink lc show pci/0000:01:00.0 lc 1Shows the state of line card with index 1 ๐ฆdevlink lc set pci/0000:01:00.0 lc 1 type 16x100GSets type of specified line card to type 16x100G ๐ฅdevlink lc set pci/0000:01:00.0 lc 1 notypeClears provisioning on a line card ๐ซง
๐ SEE ALSO ๐
bestie, go check these out too ๐ง
๐ AUTHOR ๐
written by the iconic Jiri Pirko <jiri@nvidia.com> ๐
periodt, that's the whole page ๐ it's from iproute2, dated 20 Apr 2022, so shoutout to whoever made it. stay iconic, bestie ๐๐ซถโจ
๐ฆ 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 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