[PATCH 02/11] examples/l3fwd: fix scalar LPM compilation
Stephen Hemminger
stephen at networkplumber.org
Thu May 5 19:39:51 CEST 2022
On Thu, 5 May 2022 19:29:54 +0200
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 a BAD_PORT
> should be returned after refactoring of the LPM logic in the l3fwd
> example.
>
> Fixes: 99fc91d18082 ("examples/l3fwd: add event lpm main loop")
> Cc: pbhagavatula at marvell.com
>
> Signed-off-by: Stanislaw Kardach <kda at semihalf.com>
> Sponsored-by: Frank Zhao <Frank.Zhao at starfivetech.com>
> Sponsored-by: Sam Grove <sam.grove at sifive.com>
Would be easier to get merged if bug fixes came as separate patch
submission.
Also have not seen Sponsored-by before; what do you expect it to mean?
Never used in DPDK or kernel git tree.
More information about the dev
mailing list