]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: bgpd-peer-outq.patch
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 00:40:36 +0000 (17:40 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 00:40:36 +0000 (17:40 -0700)
commitcdabb8b69196648046264f4fa76b77b66ae134a6
tree152257fd69a2d8e01ea8e17bde98bd157e14effb
parent01a2af45624e3713313974b1dd9c62c2d05e928f
bgpd: bgpd-peer-outq.patch

BGP: Show more meaningful outq value in 'show ip bgp summary' output.

'outq' field in 'show ip bgp sum' displays the number of formatted packets
to a peer. Since the route announcement follows an input-buffered pattern
(i.e. adj-rib-out is a separate queue of routes per peer and packets are
formatted from the routes at the time of TCP write), the outq field doesn't
show any interesting data worth watching.

The patch is to display the adj-rib-out queue depth instead.

signed-off-by: pmohapat@cumulusnetworks.com
reviewed-by: dwalton@cumulusnetworks.com
bgpd/bgp_advertise.c
bgpd/bgp_advertise.h
bgpd/bgp_vty.c