summaryrefslogtreecommitdiff
path: root/platform/src
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2022-12-26 17:09:33 +0800
committerluwenpeng <[email protected]>2022-12-26 17:09:33 +0800
commitfdf203b25e73e8a6290733c5bd91f6cc8c0d4ad4 (patch)
treea047777b8dba197673014d80c426e4bbcb1f6a7c /platform/src
parentdc4205c9b0b38bae31fc1a248ff81804b33f442f (diff)
NF QUEUE未配置eth时,默认不绑定eth device
Diffstat (limited to 'platform/src')
-rw-r--r--platform/src/acceptor_kni_v3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/src/acceptor_kni_v3.cpp b/platform/src/acceptor_kni_v3.cpp
index 5a81848..05628d9 100644
--- a/platform/src/acceptor_kni_v3.cpp
+++ b/platform/src/acceptor_kni_v3.cpp
@@ -765,7 +765,7 @@ struct acceptor_kni_v3 *acceptor_kni_v3_create(struct tfe_proxy *proxy, const ch
__ctx->proxy = proxy;
__ctx->profile = profile;
- MESA_load_profile_string_def(profile, "nfq", "device", __ctx->device, sizeof(__ctx->device), "tap0");
+ MESA_load_profile_string_def(profile, "nfq", "device", __ctx->device, sizeof(__ctx->device), "");
MESA_load_profile_uint_def(profile, "nfq", "queue_id", &(__ctx->queue_id), 1);
MESA_load_profile_uint_def(profile, "nfq", "queue_maxlen", &(__ctx->queue_maxlen), 65535);
MESA_load_profile_uint_def(profile, "nfq", "queue_rcvbufsiz", &(__ctx->queue_rcvbufsiz), 98302500);