mirror_frr/bgpd/rfapi
Valerian_He 98efa5bc6b bgpd: bgp_path_info_extra memory optimization
Even if some of the attributes in bgp_path_info_extra are
not used, their memory is still allocated every time. It
cause a waste of memory.
This commit code deletes all unnecessary attributes and
changes the optional attributes to pointer storage. Memory
will only be allocated when they are actually used. After
optimization, extra info related memory is reduced by about
half(~400B -> ~200B).

Signed-off-by: Valerian_He <1826906282@qq.com>
2023-08-08 10:48:07 +00:00
..
bgp_rfapi_cfg.c Merge pull request #12248 from pguibert6WIND/bgpasdot 2023-02-21 08:01:03 -05:00
bgp_rfapi_cfg.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_ap.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_ap.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_backend.h *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
rfapi_descriptor_rfp_utils.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_descriptor_rfp_utils.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_encap_tlv.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_encap_tlv.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_import.c bgpd: Initialize pfx_buf to zeros before using in bgp_path_info_cmp() 2023-05-20 10:03:10 +03:00
rfapi_import.h *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
rfapi_monitor.c *: Convert THREAD_XXX macros to EVENT_XXX macros 2023-03-24 08:32:17 -04:00
rfapi_monitor.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
rfapi_nve_addr.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_nve_addr.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_private.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi_rib.c bgpd: rfapi memleak fixes 2023-04-11 12:27:36 -07:00
rfapi_rib.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
rfapi_vty.c bgpd: bgp_path_info_extra memory optimization 2023-08-08 10:48:07 +00:00
rfapi_vty.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
rfapi.c bgpd: Remove peer->sync array 2023-07-21 12:41:35 -04:00
rfapi.h *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
vnc_debug.c Merge pull request #12780 from opensourcerouting/spdx-license-id 2023-02-17 09:43:05 -05:00
vnc_debug.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vnc_export_bgp_p.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vnc_export_bgp.c *: Convert THREAD_XXX macros to EVENT_XXX macros 2023-03-24 08:32:17 -04:00
vnc_export_bgp.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vnc_export_table.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vnc_export_table.h *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
vnc_import_bgp_p.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vnc_import_bgp.c bgpd: Remove set but unused variables 2023-03-28 10:07:38 -04:00
vnc_import_bgp.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vnc_zebra.c bgpd: Remove peer->sync array 2023-07-21 12:41:35 -04:00
vnc_zebra.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00