Create worker threads using ODP API (direct in/out mode) 06/8006/10
authorMichal Mazur <[email protected]>
Fri, 11 Aug 2017 19:18:05 +0000 (21:18 +0200)
committerMichal Mazur <[email protected]>
Thu, 14 Dec 2017 14:18:05 +0000 (15:18 +0100)
commitd830f80364a33f81c4b534eca902ac7600cbfc05
treeaba9311089548d1189f6ada0118251c97c26ff7f
parentc322d05e95fe19ff91dc4b44b83beef3088f5523
Create worker threads using ODP API (direct in/out mode)

This patch allows VPP to run multiple worker threads compatible with ODP.
By default a single thread is assigned to each interface but this
can be changed using "set interface rx-placement" command.
Only Direct input/output mode without RSS is supported.

Change-Id: Ia6af7e5af4950159eb28b7d56bc9c8d34b80f8d4
Signed-off-by: Michal Mazur <[email protected]>
build-data/platforms/odp.mk
src/plugins/odp.am
src/plugins/odp/node.c
src/plugins/odp/odp_packet.c
src/plugins/odp/odp_packet.h
src/plugins/odp/thread.c [new file with mode: 0644]