devlink-lc(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | AUTHOR | COLOPHON

DEVLINK-LC(8)                     Linux                    DEVLINK-LC(8)

NAME         top

       devlink-lc - devlink line card configuration

SYNOPSIS         top

       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         top

   devlink lc set - change line card attributes
       DEV    Specifies the devlink device to operate on.

                  Format is:
                    BUS_NAME/BUS_ADDRESS

       lc LC_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 show command.

   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.

       lc LC_INDEX
              Specifies index of a line card slot to show.

EXAMPLES         top

       devlink lc show
           Shows the state of all line cards on the system.

       devlink lc show pci/0000:01:00.0 lc 1
           Shows the state of line card with index 1.

       devlink lc set pci/0000:01:00.0 lc 1 type 16x100G
           Sets type of specified line card to type 16x100G.

       devlink lc set pci/0000:01:00.0 lc 1 notype
           Clears provisioning on a line card.

SEE ALSO         top

       devlink(8), devlink-dev(8), devlink-port(8), devlink-monitor(8),

AUTHOR         top

       Jiri Pirko <jiri@nvidia.com>

COLOPHON         top

       This page is part of the iproute2 (utilities for controlling
       TCP/IP networking and traffic) project.  Information about the
       project can be found at 
       ⟨http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2⟩.
       If you have a bug report for this manual page, send it to
       netdev@vger.kernel.org, shemminger@osdl.org.  This page was
       obtained from the project's upstream Git repository
       ⟨https://git.kernel.org/pub/scm/network/iproute2/iproute2.git⟩ on
       2024-06-14.  (At that time, the date of the most recent commit
       that was found in the repository was 2024-06-11.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

iproute2                       20 Apr 2022                 DEVLINK-LC(8)