解析file_prefix&pci-whitelist配置

This commit is contained in:
zhangxiang10 2020-11-17 19:19:19 +08:00
parent c661338e72
commit eff1a060f0
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ dpdk_args_setup(struct ff_config *cfg)
dpdk_argv[n++] = strdup(temp);
}
if (cfg->dpdk.file_prefix) {
sprintf(temp, "--file-prefix=container%s", cfg->dpdk.file_prefix);
sprintf(temp, "--file-prefix=container-%s", cfg->dpdk.file_prefix);
dpdk_argv[n++] = strdup(temp);
}
if (cfg->dpdk.pci_whitelist) {