app/testpmd: rework softnic forward mode
authorJasvinder Singh <jasvinder.singh@intel.com>
Fri, 6 Jul 2018 17:21:16 +0000 (18:21 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Thu, 12 Jul 2018 11:55:56 +0000 (13:55 +0200)
commit0ad778b398c676b30096954f9badea3cc0afe644
treed4a1a9ec6b46187f46917541b518101d82f905eb
parentd16eaa369cd07bc8f90c6cff188cce6c12c0ee4d
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@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
app/test-pmd/Makefile
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/meson.build
app/test-pmd/softnicfwd.c [new file with mode: 0644]
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
app/test-pmd/tm.c [deleted file]