Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: Only notify dplane work pthread when needed
The fpm_nl_process function was getting the count of the total number of ctx's processed. This leads to after having processed 1 context to always signal the dataplane that there is work to do. Change the code to only notify the dplane worker when a context was actually added to the outgoing context queue. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
- Loading branch information