"DEV/PORT_INDEX" - specifies the devlink port to operate on. Format is: BUS_NAME/BUS_ADDRESS/PORT_INDEX
type " { " eth " | " ib " | " auto " } " set port type eth - Ethernet ib - Infiniband auto - autoselect
"DEV/PORT_INDEX" - specifies the devlink port to operate on.
count " COUNT" number of ports to split to.
"DEV/PORT_INDEX" - specifies the devlink port to operate on.
"DEV/PORT_INDEX" - specifies the devlink port to show. If this argument is omitted all ports are listed.
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.