diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2017-03-16 15:11:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-16 15:11:32 +0000 |
commit | 8fb2907c4e169ac54acce7a869aeca435b85532e (patch) | |
tree | 29e436b19de8a9dfcde381845a4b73f8cb2660df /tools | |
parent | 0e5346ac983841c2b082ca7d3934922dc70624f3 (diff) | |
parent | d1145851ad5cb9b5abe963ee97491aa694d389dc (diff) |
Merge "vpp: Initial support of VPP vSwitch"
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pkt_fwd/testpmd.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/pkt_fwd/testpmd.py b/tools/pkt_fwd/testpmd.py index 8255f1d8..970259dc 100644 --- a/tools/pkt_fwd/testpmd.py +++ b/tools/pkt_fwd/testpmd.py @@ -41,6 +41,14 @@ class TestPMD(IPktFwd): def __init__(self, guest=False): vswitchd_args = settings.getValue('VSWITCHD_DPDK_ARGS') + + # override socket-mem settings + for tmp_arg in vswitchd_args: + if tmp_arg.startswith('--socket-mem'): + vswitchd_args.remove(tmp_arg) + vswitchd_args += ['--socket-mem ' + + ','.join(settings.getValue('DPDK_SOCKET_MEM'))] + if guest: vswitchd_args += _TESTPMD_PVP_CONST_ARGS vswitchd_args += _VSWITCHD_CONST_ARGS |