Re: bgpd reduce size of internal ctl message

2023-02-09 Thread Theo Buehler
On Thu, Feb 09, 2023 at 10:56:03AM +0100, Claudio Jeker wrote: > In IMSG_CTL_SHOW_NEIGHBOR a struct peer is sent from the SE to the RDE to > fill out 10 values. This is a waste of IO, struct peer is over 1000 bytes > large. Instead just pass the peerid to the RDE, let the rde send back a > stats ob

bgpd reduce size of internal ctl message

2023-02-09 Thread Claudio Jeker
In IMSG_CTL_SHOW_NEIGHBOR a struct peer is sent from the SE to the RDE to fill out 10 values. This is a waste of IO, struct peer is over 1000 bytes large. Instead just pass the peerid to the RDE, let the rde send back a stats object and have the control code do the merge. Introduce struct rde_peer_