DEVLINK-PORT(8)                     Linux                    DEVLINK-PORT(8)

NAME         top

       devlink-port - devlink port configuration

SYNOPSIS         top

       devlink [ OPTIONS ] port  { COMMAND | help }

       OPTIONS := { -V[ersion] | -n[no-nice-names] }

       devlink port set DEV/PORT_INDEX [ type { eth | ib | auto } ]

       devlink port split DEV/PORT_INDEX count COUNT

       devlink port unsplit DEV/PORT_INDEX

       devlink port show [ DEV/PORT_INDEX ]

       devlink port help

DESCRIPTION         top

   devlink port set - change devlink port attributes
       DEV/PORT_INDEX - specifies the devlink port to operate on.

           Format is:

       type { eth | ib | auto }
              set port type

              eth - Ethernet

              ib - Infiniband

              auto - autoselect

   devlink port split - split devlink port into more
       DEV/PORT_INDEX - specifies the devlink port to operate on.

       count COUNT
              number of ports to split to.

   devlink port unsplit - unsplit previously split devlink port
       Could be performed on any split port of the same split group.

       DEV/PORT_INDEX - specifies the devlink port to operate on.

   devlink port show - display devlink port attributes
       DEV/PORT_INDEX - specifies the devlink port to show.  If this
       argument is omitted all ports are listed.

EXAMPLES         top

       devlink port show
           Shows the state of all devlink ports on the system.

       devlink port show pci/0000:01:00.0/1
           Shows the state of specified devlink port.

       devlink port set pci/0000:01:00.0/1 type eth
           Set type of specified devlink port to Ethernet.

       devlink port split pci/0000:01:00.0/1 count 4
           Split the specified devlink port into four ports.

       devlink port unsplit pci/0000:01:00.0/1
           Unplit the specified previously split devlink port.

SEE ALSO         top

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

AUTHOR         top

       Jiri Pirko <>

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 
       If you have a bug report for this manual page, send it to,  This page was obtained
       from the project's upstream Git repository
       ⟨⟩ on
       2019-05-09.  (At that time, the date of the most recent commit that
       was found in the repository was 2019-05-06.)  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

iproute2                         14 Mar 2016                 DEVLINK-PORT(8)

Pages that refer to this page: devlink(8)devlink-dev(8)devlink-health(8)devlink-monitor(8)devlink-region(8)devlink-resource(8)devlink-sb(8)