čt 29. 1. 2026 v 18:28 odesílatel Stephen Hemminger < [email protected]> napsal:
> > How big is this beast? > Heh, I am not sure if this was rhetorical or an actual technical question, but to answer, pahole reports it as 26,400 bytes big. Previously, it was sized similarly (25,884 B), it was just spread out over many globally defined arrays. The ~500 byte increase comes from new *_cache arrays (raw_encap_conf_cache, raw_decap_conf_cache, etc.). In the original testpmd, external code accessed global arrays directly (e.g., raw_encap_confs[idx].data). The library provides accessor APIs like rte_flow_parser_raw_encap_conf_get() that return const struct rte_flow_action_raw_encap *. Since this API returns a pointer to a properly-typed action struct (not just raw data), the library needs storage for these structs.

