interfaces dataplane <interface-name> hardware port <port-number>
Binds a data plane interface to a port on a PCI NIC, based on the discovery order by DPDK.
- interface-name
- The name of a data plane interface. For more information about formats for the names of supported data plane interfaces, refer to Data Plane Interface.
- port-number
- The discovery order by DPDK. The discovery order is a number that ranges from 0 through 31.
Configuration mode
dataplane interface-name {
hardware {
port port-number
}
}
Data Plane Development Kit (DPDK) discovers interfaces on a system in some particular, nonrandom order. For example, if a system has one NIC, you can use this command to bind dp0s0 to port 0, the first port that DPDK finds. By using this command, you can always be certain that no matter where the NIC is added to a system, the NIC always comes up as dp0s0.
Use the set form of this command to bind a data plane interface to a port on a PCI NIC.
Use the delete form of this command to unbind a data plane interface from a PCI NIC port.
Use the show form of this command to display the port hardware-binding information for a data plane interface.