Enable multi-port perf in trex as TG 57/44157/1
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 18:02:09 +0000 (11:02 -0700)
commit28688e6866cea5b16870864ced9a6d4751094e6f
tree970c752aef2a18ebee3f36ccd9625910904717ba
parent57fa65acd7663e38b625b9d46eee4724d8dca5b6
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