mirror of https://github.com/F-Stack/f-stack.git
解析file_prefix&pci-whitelist配置
This commit is contained in:
parent
c661338e72
commit
eff1a060f0
|
@ -669,7 +669,7 @@ dpdk_args_setup(struct ff_config *cfg)
|
||||||
dpdk_argv[n++] = strdup(temp);
|
dpdk_argv[n++] = strdup(temp);
|
||||||
}
|
}
|
||||||
if (cfg->dpdk.file_prefix) {
|
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);
|
dpdk_argv[n++] = strdup(temp);
|
||||||
}
|
}
|
||||||
if (cfg->dpdk.pci_whitelist) {
|
if (cfg->dpdk.pci_whitelist) {
|
||||||
|
|
Loading…
Reference in New Issue