Thread (132 messages) 132 messages, 5 authors, 2018-07-11

Re: [PATCH v3 23/23] app/testpmd: rework softnic forward mode

From: Iremonger, Bernard <hidden>
Date: 2018-06-28 11:15:21

Hi Jasvinder

<snip>
quoted
quoted
-----Original Message-----
From: Singh, Jasvinder
Sent: Wednesday, June 27, 2018 5:31 PM
To: dev@dpdk.org
Cc: Dumitrescu, Cristian <redacted>; Iremonger,
Bernard [off-list ref]; Pattan, Reshma
[off-list ref]
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 <redacted>
Signed-off-by: Reshma Pattan <redacted>
---
<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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help