[PATCH v2 1/1] examples/l3fwd: fix scalar LPM compilation
David Marchand
david.marchand at redhat.com
Thu May 19 16:53:44 CEST 2022
On Wed, May 11, 2022 at 4:57 PM Stanislaw Kardach <kda at semihalf.com> 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-processor macro. Because of that the scalar version was apparently
> not widely excersized/compiled.
> Due to some copy/paste errors, the scalar logic in
> lpm_process_event_pkt() retained a "continue" statement where it should
> utilize rfc1812_process() and return the port/BAD_PORT.
>
> Fixes: 99fc91d18082 ("examples/l3fwd: add event lpm main loop")
> Cc: pbhagavatula at marvell.com
>
> Signed-off-by: Stanislaw Kardach <kda at semihalf.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list