FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
set interface placement <interface> [queue <n>] [thread <n> | main].
This command is used to assign a given interface, and optionally a given queue, to a different thread. If the 'queue' is not provided, it defaults to 0.
vpp# show interface placement
Thread 1 (vpp_wk_0):
GigabitEthernet0/8/0 queue 0
GigabitEthernet0/9/0 queue 0
Thread 2 (vpp_wk_1):
GigabitEthernet0/8/0 queue 1
GigabitEthernet0/9/0 queue 1
Example of how to assign a interface and queue to a thread: vpp# set interface placement GigabitEthernet0/8/0 queue 1 thread 1
Declaration: cmd_set_dpdk_if_placement (src/vnet/devices/devices.c line 307)
Implementation: set_device_placement.
show interface placement.
Declaration: memif_delete_command (src/vnet/devices/devices.c line 226)
Implementation: show_device_placement_fn.