[dpdk-dev] [PATCH v3 23/23] app/testpmd: rework softnic forward mode

Iremonger, Bernard bernard.iremonger at intel.com
Thu Jun 28 14:45:48 CEST 2018


Hi Jasvinder,

<snip>

> > > > -----Original Message-----
> > > > From: Singh, Jasvinder
> > > > Sent: Wednesday, June 27, 2018 5:31 PM
> > > > To: dev at dpdk.org
> > > > Cc: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>;
> > > > Iremonger, Bernard <bernard.iremonger at intel.com>; Pattan, Reshma
> > > > <reshma.pattan at intel.com>
> > > > Subject: [PATCH v3 23/23] app/testpmd: rework softnic forward mode
> > > >
> > > > Modied the testpmd softnic forwarding mode as per the changes in
> > > > softnic PMD.
> > > >
> > > > To run testpmd application with softnic fwd mode, following
> > > > command is used;
> > > >
> > > > $ ./testpmd -c 0xc -n 4 --vdev 'net_softnic0,firmware=script.cli'
> > > >   -- -i --forward-mode=softnic
> > > >
> > > > Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>
> > > > Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
> > > > ---
> > >
> > > <snip>
> > >
> > > This patch fails to compile on the latest 18.08 master branch.
> > >
> > > I don't see any updateto the testpmd *.rst files.
> > >
> >
> >
> > Bernard, Could you please provide me the build log?
> 
> /root/dpdk_sforge_2/app/test-pmd/cmdline.c: In function 'prompt':
>   LD dpdk-pdump
> /root/dpdk_sforge_2/app/test-pmd/cmdline.c:17584:3: error: implicit
> declaration of function 'rte_pmd_softnic_manage' [-Werror=implicit-
> function-declaration]
>    rte_pmd_softnic_manage(softnic_portid);
>    ^
> /root/dpdk_sforge_2/app/test-pmd/cmdline.c:17584:3: error: nested extern
> declaration of 'rte_pmd_softnic_manage' [-Werror=nested-externs]
>   LD dpdk-test-eventdev
>   LD testbbdev
> cc1: all warnings being treated as errors
> /root/dpdk_sforge_2/mk/internal/rte.compile-pre.mk:114: recipe for target
> 'cmdline.o' failed
> make[5]: *** [cmdline.o] Error 1
> /root/dpdk_sforge_2/mk/rte.subdir.mk:35: recipe for target 'test-pmd'
> failed
> make[4]: *** [test-pmd] Error 2
> make[4]: *** Waiting for unfinished jobs....
>   INSTALL-APP dpdk-procinfo
>   INSTALL-MAP dpdk-procinfo.map
>   INSTALL-APP dpdk-test-crypto-perf
>   INSTALL-MAP dpdk-test-crypto-perf.map
>   INSTALL-APP dpdk-pdump
>   INSTALL-MAP dpdk-pdump.map
>   INSTALL-APP dpdk-test-eventdev
>   INSTALL-MAP dpdk-test-eventdev.map
>   INSTALL-MAP testbbdev.map
>   INSTALL-APP testbbdev
> /root/dpdk_sforge_2/mk/rte.sdkbuild.mk:49: recipe for target 'app' failed
> make[3]: *** [app] Error 2
> /root/dpdk_sforge_2/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> /root/dpdk_sforge_2/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install'
> failed
> make[1]: *** [pre_install] Error 2
> /root/dpdk_sforge_2/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
> make: *** [install] Error 2
> 
> Regards,
> 
> Bernard.

It is compiling for me now (I missed a patch when applying the patches).
Sorry for any inconvenience caused.

Regards,

Bernard.



More information about the dev mailing list