On Sat, 28 Jan 2023 16:23:45 +0530 Jerin Jacob <jerinjac...@gmail.com> wrote:
> > > > > > Yes. No need recompile if ABI not breaking. > > > > > > > When some of the reserved fields are used in the future, the > > > > application > > > also may need to be recompiled along with DPDK right? > > > > As the application also may need to use the newly consumed reserved > > > fields? > > > > > > The problematic case is: > > > > > > Adapter implementation of 23.07(Assuming there is change params) field > > > needs to work with application of 23.03. > > > rte_event_eth_rx_adapter_runtime_params_init() will sove that. > > > > > First off, reserved fields are a problematic design choice IMHO (see YAGNI). Second. any reserved fields can not be used in future unless the original code enforced that all reserved fields are zero. Same is true for holes in structs which some times get reused. You can't use a reserved field without breaking ABI unless the previous code enforced that the field must be zero.