diff options
author | Michal Mazur <mkm@semihalf.com> | 2017-08-11 21:18:05 +0200 |
---|---|---|
committer | Michal Mazur <mkm@semihalf.com> | 2017-12-14 15:18:05 +0100 |
commit | d830f80364a33f81c4b534eca902ac7600cbfc05 (patch) | |
tree | aba9311089548d1189f6ada0118251c97c26ff7f /src/plugins/odp.am | |
parent | c322d05e95fe19ff91dc4b44b83beef3088f5523 (diff) |
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 <mkm@semihalf.com>
Diffstat (limited to 'src/plugins/odp.am')
-rw-r--r-- | src/plugins/odp.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/odp.am b/src/plugins/odp.am index 40316f44..10c8e273 100644 --- a/src/plugins/odp.am +++ b/src/plugins/odp.am @@ -19,7 +19,8 @@ odp_plugin_la_SOURCES = odp/cli.c \ odp/node.c \ odp/odp_packet.c \ odp/device.c \ - odp/buffer.c + odp/buffer.c \ + odp/thread.c noinst_HEADERS += odp/odp_packet.h |