]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fpm_nl_process() reschedule dp thread
authorDuncan Eastoe <duncan.eastoe@att.com>
Tue, 22 Dec 2020 19:47:17 +0000 (19:47 +0000)
committerDuncan Eastoe <duncan.eastoe@att.com>
Tue, 22 Dec 2020 21:14:03 +0000 (21:14 +0000)
commitb677907c995216479ce5430fa07b3562686db5f2
tree884701d144de2b6c6c75476377370c4a509025f6
parentf1595ce43940e9cc6f5052b77b6f5152bc251f8b
zebra: fpm_nl_process() reschedule dp thread

fpm_nl_process() now ensures that the dataplane thread is rescheduled
if it hits the work limit while processing its incoming work queue.

This would probably already occur due to some other event, such as
fpm_process_queue() enqueuing completed work to the output queue,
however it does no harm to add this explicit reschedule.

Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
zebra/dplane_fpm_nl.c