[dpdk-dev] L3fwd mode in testpmd
Ananyev, Konstantin
konstantin.ananyev at intel.com
Thu Apr 29 10:31:03 CEST 2021
Hi Stanislaw,
>
> On Wed, Apr 28, 2021 at 09:44:54PM +0000, Honnappa Nagarahalli wrote:
> <snip>
> > [Honnappa] Sorry, I do not understand this. I see that vector code is under compile time flag as below
> >
> > #if defined RTE_ARCH_X86 || defined __ARM_NEON
> > l3fwd_em_send_packets(nb_rx, pkts_burst,
> > portid, qconf);
> > #else
> > l3fwd_em_no_opt_send_packets(nb_rx, pkts_burst,
> > portid, qconf);
> > #endif
> Take a look at the ifdef tree at the top of l3fwd_em.c, here:
> http://git.dpdk.org/dpdk/tree/examples/l3fwd/l3fwd_em.c#n218
>
> #if defined(__SSE2__)
> ...
> #else
> #error No vector engine (SSE, NEON, ALTIVEC) available, check your toolchain
> #endif
>
I think it is just a flaw and needs to be fixed.
Patch would help here 😊
Konstantin
More information about the dev
mailing list