diff options
author | Steven Luong <sluong@cisco.com> | 2021-06-17 08:22:50 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-07-08 16:53:17 +0000 |
commit | 8e3f109a0664404c36bdcb6b5a20d836c1d7d887 (patch) | |
tree | 7ff4c32825d23a0268ef399b09a721bb34add99b /src/vnet/fib/fib_api.c | |
parent | 0cc23b7dde261390b0ffa7a5ba2d11603b40eafa (diff) |
interface: unable to to assign tx queue to last worker thread
Using the cli "set interface tx-queue", it is not possible to assign
tx queue to the last worker thread.
The reason is that vdm->first_worker_thread_index is 1. Adding that
to clib_bitmap_last_set (bitmap) exceeds vdm->last_worker_thread_index
when the CLI specifies the last worker thread.
Also make the threads argument optional to enable user to unbind a queue
from any thread.
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I796259c20f571289c8f5a97b9418caf452d0ab3d
Diffstat (limited to 'src/vnet/fib/fib_api.c')
0 files changed, 0 insertions, 0 deletions