FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
src/vnet/devices

set interface placement

Summary/usage

set interface placement <interface> [queue <n>] [thread <n> | main].

Description

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.

Example usage
Example of how to display the interface placement:
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 and implementation

Declaration: cmd_set_dpdk_if_placement (src/vnet/devices/devices.c line 307)

Implementation: set_device_placement.

show interface placement

Summary/usage

show interface placement.

Declaration and implementation

Declaration: memif_delete_command (src/vnet/devices/devices.c line 226)

Implementation: show_device_placement_fn.