1DEVLINK-LC(8) Linux DEVLINK-LC(8)
2
3
4
6 devlink-lc - devlink line card configuration
7
9 devlink [ OPTIONS ] lc { COMMAND | help }
10
11
12 OPTIONS := { -V[ersion] }
13
14 devlink lc set DEV lc LC_INDEX [ type { LC_TYPE | notype } ]
15
16 devlink lc show [ DEV [ lc LC_INDEX ] ]
17
18 devlink lc help
19
20
22 devlink lc set - change line card attributes
23 DEV Specifies the devlink device to operate on.
24
25 Format is:
26 BUS_NAME/BUS_ADDRESS
27
28
29 lc LC_INDEX
30 Specifies index of a line card slot to set.
31
32
33 type { LC_TYPE | notype } Type of line card to provision. Each driver
34 provides a list of supported line card types which is shown in
35 the output of devlink lc show command.
36
37
38 devlink lc show - display line card attributes
39 DEV Specifies the devlink device to operate on. If this and lc argu‐
40 ments are omitted all line cards of all devices are listed.
41
42
43 lc LC_INDEX
44 Specifies index of a line card slot to show.
45
46
48 devlink lc show
49 Shows the state of all line cards on the system.
50
51 devlink lc show pci/0000:01:00.0 lc 1
52 Shows the state of line card with index 1.
53
54 devlink lc set pci/0000:01:00.0 lc 1 type 16x100G
55 Sets type of specified line card to type 16x100G.
56
57 devlink lc set pci/0000:01:00.0 lc 1 notype
58 Clears provisioning on a line card.
59
60
62 devlink(8), devlink-dev(8), devlink-port(8), devlink-monitor(8),
63
64
66 Jiri Pirko <jiri@nvidia.com>
67
68
69
70iproute2 20 Apr 2022 DEVLINK-LC(8)