Re: [PATCH 1/1] examples/l3fwd: fix scalar LPM compilation

2022-05-11 Thread Stanisław Kardach
On Wed, May 11, 2022 at 1:39 PM David Marchand wrote: > Based on the vector specific implemtations of process_packet in this > example, this code could be replaced with a call to rfc1812_process(). > Eth macs updates can be moved prior to rfc1812_process. > > What do you think of (untested): That

Re: [PATCH 1/1] examples/l3fwd: fix scalar LPM compilation

2022-05-11 Thread David Marchand
Hello Stanislaw, On Tue, May 10, 2022 at 1:59 PM Stanislaw Kardach wrote: > > The lpm_process_event_pkt() can either process a packet using an > architecture specific (defined for X86/SSE, ARM/Neon and PPC64/Altivec) > path or a scalar one. The choice is however done using an ifdef > pre-processo

[PATCH 1/1] examples/l3fwd: fix scalar LPM compilation

2022-05-10 Thread Stanislaw Kardach
The lpm_process_event_pkt() can either process a packet using an architecture specific (defined for X86/SSE, ARM/Neon and PPC64/Altivec) path or a scalar one. The choice is however done using an ifdef pre-processor macro. Because of that the scalar version was apparently not widely excersized/compi