When running multiple pods, the DPDK file-prefix needs to be unique, so
a uuid was added to the file-prefix. This parameter is then available in
the parameters.lua file.
The eal parameter for setting the simd bitwidth was also added.
Signed-off-by: Luc Provoost <luc.provoost@gmail.com>
Change-Id: Iee04e54f059732a40ebdc7635dbd09631b5f2081
from prox_ctrl import prox_ctrl
import os
import re
+import uuid
class RapidMachine(object):
"""
allow_parameter = 'allow'
else:
allow_parameter = 'pci-whitelist'
- eal_line = 'eal=\"--file-prefix {} --{} {}\"\n'.format(
- self.name, allow_parameter,
+ eal_line = 'eal=\"--file-prefix {}{} --{} {} --force-max-simd-bitwidth=512'.format(
+ self.name, str(uuid.uuid4()), allow_parameter,
self.machine_params['dp_pci_dev'])
LuaFile.write(eal_line)
else: