diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-12-09 18:24:21 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-04-14 19:20:43 +0000 |
commit | 8b153de6cdd8d87ae38447487565b346e735dc86 (patch) | |
tree | 1d1a77b6e3949815abee01668cba360372293078 /src/vlib/init.c | |
parent | aad4298df0d31abe15ac40d0560b0bf196d6c1b5 (diff) |
vlib: disable cpu pinning if not configured
In some environment like when running a lot of functional tests, it can
be useful to run more VPP instances than CPU and let the Linux scheduler
decide what to do. This change disable cpu pinning altogether in the
single-threaded case, provided that no main-core is explicitely
specified in the config
Type: improvement
Change-Id: I8c2f36fdd49c00f9adaaeb4c81aefb27c3420a9b
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Diffstat (limited to 'src/vlib/init.c')
0 files changed, 0 insertions, 0 deletions