]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: display ingress packet queue size 6118/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 30 Mar 2020 18:47:15 +0000 (14:47 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 30 Mar 2020 19:07:57 +0000 (15:07 -0400)
commit43aa59653862fbbed0e1ccb813a23444be57acaa
tree146a06b27c33e5011ecbd82757da4e1d4eafae97
parentff82bbbb912d84a4a9bc22a7efe7f51adada02eb
bgpd: display ingress packet queue size

In the past, we always displayed the number of buffered ingress packets
as zero because there was no packet buffering in the input path and
therefore never any queue size to report. They're buffered now so we can
display something meaningful instead of 0.

Also change the inq / outq lookups to be atomic, since they can be
modified elsewhere. These should still compile down to an unfenced word
read but it's good to be explicit.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_vty.c