Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

system interface dataplane <id> cpu-affinity <cpu-list>

Assigns CPU affinity to a data plane interface.

set system interface dataplane id cpu-affinity cpu-list
delete system interface dataplane id [ cpu-affinity [ cpu-list ] ]
show system interface dataplane id [ cpu-affinity ]
id

The data plane ID.

cpu-list
The CPUs assigned to the affinity. Enter a number, a range of numbers separated by a hyphen or a comma-separated list.

Configuration mode


system {
    interface dataplane id {
        cpu-affinity cpu-list
    } 
}

By default, the vRouter assigns a CPU to a dataplane interface in a round-robin manner.

If you configure a limited number of CPUs, the number of receive queues are reduced. If you configure a CPU that does not exist or is not defined as used for the data plane, then a message is logged and the interface does not start.

Use the set form of this command to define the CPU affinity list for the data plane interface.

Use the delete form of this command to remove CPU affinity list for the data plane interface.

Use the show form of this command to view the CPU affinity list for the data plane.