diff options
| author | Soumya Roy <souroy@nvidia.com> | 2025-03-14 22:01:51 +0000 | 
|---|---|---|
| committer | Soumya Roy <souroy@nvidia.com> | 2025-03-20 16:13:44 +0000 | 
| commit | 860c1e445043c6e380a9fb08cc0c21c6339625ad (patch) | |
| tree | 322b7964416aa14f81b257cbecd830b1e0b052f0 /lib/zclient.h | |
| parent | 6fe9092eb312e196260ee8deefb73b3f864b1432 (diff) | |
zebra: reduce memory usage by streams when redistributing routes
This commit undo 8c9b007a0c7efb2e9afc2eac936ba9dd971c6707
stream lib has been modified to expand the stream if needed
Now for zapi route encode, we use expandable stream
Signed-off-by: Soumya Roy <souroy@nvidia.com>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 43521d6e2e..afd84acce2 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -1158,7 +1158,6 @@ zclient_send_rnh(struct zclient *zclient, int command, const struct prefix *p,  		 vrf_id_t vrf_id);  int zapi_nexthop_encode(struct stream *s, const struct zapi_nexthop *api_nh,  			uint32_t api_flags, uint32_t api_message); -extern int zapi_redistribute_stream_size(struct zapi_route *api);  extern int zapi_route_encode(uint8_t, struct stream *, struct zapi_route *);  extern int zapi_route_decode(struct stream *s, struct zapi_route *api);  extern int zapi_nexthop_decode(struct stream *s, struct zapi_nexthop *api_nh,  | 
