Enable multi-port perf in trex as TG 27/43327/3
authorDeepak S <deepak.s@linux.intel.com>
Wed, 30 Aug 2017 09:22:07 +0000 (02:22 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 3 Oct 2017 04:47:26 +0000 (21:47 -0700)
commitcec4342dee5c13260b680f6dddbc33ae5bf0c127
treec04c4655ed43d5406185502d9fb6364b9d41731a
parentdd3cbc21dfb505ea70dd3574869c1fb33b7de956
Enable multi-port perf in trex as TG

set TRex -c option for threads per port based on
hardware number of queues.

We can't auto-detect number of queues and we can't
use more than one thread per core on systems with single-queue
interfaces, so move the option to the config file

options:
  tg_0:
    queues_per_port: 2

also enable trex debug by removing >/dev/null redirection

options:
  tg_0:
    trex_server_debug: true

Change-Id: I46da187849282bf28f4ef5b333e1ae890e202768
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py
tests/unit/network_services/vnf_generic/vnf/test_tg_trex.py
yardstick/network_services/vnf_generic/vnf/sample_vnf.py
yardstick/network_services/vnf_generic/vnf/tg_trex.py