Re: [dpdk-dev] [PATCH v2] examples/ipsec-secgw: fix potential build error

2021-11-03 Thread Thomas Monjalon
03/11/2021 12:56, Radu Nicolau: > When STATS_INTERVAL is set to a non-zero value the core_statistics array > will be defined in multiple compilation units and this can trigger a > linker error on particular environments. In order to fix this the > core_statistics definition was moved out of the hea

[dpdk-dev] [PATCH v2] examples/ipsec-secgw: fix potential build error

2021-11-03 Thread Radu Nicolau
When STATS_INTERVAL is set to a non-zero value the core_statistics array will be defined in multiple compilation units and this can trigger a linker error on particular environments. In order to fix this the core_statistics definition was moved out of the header file. Fixes: 1329602b6c8f ("example