Add worker-handoff node 49/1449/6
authorDamjan Marion <[email protected]>
Tue, 7 Jun 2016 23:37:11 +0000 (01:37 +0200)
committerDave Barach <[email protected]>
Mon, 13 Jun 2016 20:39:58 +0000 (20:39 +0000)
commit0247b4600235bc18e558a7c4267b59be897d714d
tree3a52c20a43b4c6eee1aaf829b493619106d865c4
parentc424879b4c01f1a9d9dc3a210454a570178d31a2
Add worker-handoff node

worker-handoff node is universal node which taakes packets
from the input node and hands them over to worker threads.
Currently it supports flow hashing based on ipv4, ipv6 and
mpls headers.

New cli:

set interface handoff <intrerface-name> workers <list>

e.g.

set interface handoff TenGigabitEthernet2/0/0 workers 3-6,9-10

Change-Id: Iaf0df83e69bb0e84969865e0e1cdb000b0864cf5
Signed-off-by: Damjan Marion <[email protected]>
vnet/Makefile.am
vnet/vnet/api_errno.h
vnet/vnet/buffer.h
vnet/vnet/devices/dpdk/dpdk.h
vnet/vnet/devices/dpdk/node.c
vnet/vnet/handoff.c [new file with mode: 0644]
vnet/vnet/handoff.h [new file with mode: 0644]
vppinfra/vppinfra/bitmap.h