| DEV | Format is: BUS_NAME/BUS_ADDRESS |
| lcLC_INDEX | Specifies index of a line card slot to set. |
| type { | LC_TYPE | notype } Type of line card to provision. Each driver provides a list of supported line card types which is shown in the output of devlink lc showcommand. |
| DEV | Specifies the devlink device to operate on. If this and lc arguments are omitted all line cards of all devices are listed. |
| lcLC_INDEX | Specifies index of a line card slot to show. |
NAME
devlink-lc - devlink line card configuration
SYNOPSIS
devlink [ OPTIONS ] lc { COMMAND | help }
OPTIONS := { -V[ersion] }
devlink lc setDEVlcLC_INDEX [type{ LC_TYPE | notype } ]
devlink lc show [ DEV [ lcLC_INDEX ] ]
devlink lc help
DESCRIPTION
devlink lc set - change line card attributes
- DEV
Format is: BUS_NAME/BUS_ADDRESS
- lcLC_INDEX
Specifies index of a line card slot to set.
- type {
LC_TYPE | notype } Type of line card to provision. Each driver provides a list of supported line card types which is shown in the output of devlink lc showcommand.
devlink lc show - display line card attributes
- DEV
Specifies the devlink device to operate on. If this and lc arguments are omitted all line cards of all devices are listed.
- lcLC_INDEX
Specifies index of a line card slot to show.
EXAMPLES
devlink lc show
devlink lc show pci/0000:01:00.0 lc 1
devlink lc set pci/0000:01:00.0 lc 1 type 16x100G
devlink lc set pci/0000:01:00.0 lc 1 notype
SEE ALSO
devlink(8), devlink-dev(8), devlink-port(8), devlink-monitor(8),
AUTHOR
Jiri Pirko <[email protected]>