vlib: allow using core 0 as a last resort 45/25945/2
authorVladimir Isaev <visaev@netgate.com>
Tue, 17 Mar 2020 09:56:31 +0000 (12:56 +0300)
committerDamjan Marion <dmarion@me.com>
Sat, 21 Mar 2020 12:10:52 +0000 (12:10 +0000)
commit2ed4204c91bf0c79639f39dc01601d58a0e536ee
tree2ea4119888532f312715242c7c0a6ca670c32d14
parent18a4a371646bccfd299e6a509e801a524aeb4c92
vlib: allow using core 0 as a last resort

Right now even following configuration fails:
cpu {
    corelist-workers 0
}
I think we should allow user to use CPU 0 if he explicitly
configured it or as the last automatically assigned core.

Type: improvement
Signed-off-by: Vladimir Isaev <visaev@netgate.com>
Change-Id: I041c30349bace558c673475e9a0cffccae5821f7
src/vlib/threads.c