summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-05-05 10:37:11 -0400
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-05-12 18:54:55 +0000
commit97fff7b767b00ded2c429b80bc9878fdacf38b9e (patch)
tree7b776d64679d29665176170ddbfbed3f6b4045db /lib/command.c
parente2f4d54f14045bacb7c892ccee2ccc17bbee5884 (diff)
zebra: Fix dp_out_queued counter to actually reflect real life
The prov->dp_out_queued counter was never being decremented when a ctx was pulled off of the list. Let's change it to accurately reflect real life. Broken: janelle.pinkbelly.org# show zebra dplane providers detailed Zebra dataplane providers: Kernel (1): in: 330872, q: 0, q_max: 100, out: 330872, q: 330872, q_max: 330872 janelle.pinkbelly.org# Fixed: sharpd@janelle:/tmp/topotests$ vtysh -c "show zebra dplane providers detailed" Zebra dataplane providers: Kernel (1): in: 221495, q: 0, q_max: 100, out: 221495, q: 0, q_max: 100 sharpd@janelle:/tmp/topotests$ Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit 995d810d08109d8c7eca0d23710a2043711411d9)
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions