diff options
author | Vladimir Isaev <visaev@netgate.com> | 2020-03-17 12:30:11 +0300 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-03-21 12:09:38 +0000 |
commit | 18a4a371646bccfd299e6a509e801a524aeb4c92 (patch) | |
tree | a72cda0acabefbbd850d51f650d833c43289204c /src/vlib/node_funcs.h | |
parent | 2d822818210f7783244ea6b4343566cf0cd7c9e2 (diff) |
vlib: complain if workers are configured twice
Right now following configuration leads to crash:
cpu {
corelist-workers 2
workers 2
}
because threads count will be set to 2, but we have only
one core in coremask.
Type: fix
Signed-off-by: Vladimir Isaev <visaev@netgate.com>
Change-Id: Ia93b892733971e7c8ddfceaaec5f4eb8bf9063ac
Diffstat (limited to 'src/vlib/node_funcs.h')
0 files changed, 0 insertions, 0 deletions