From 1fe60d2428f231eb3bd68b0ecfb479ab25689405 Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Mon, 8 Mar 2021 17:33:17 +0800 Subject: 废除 tfe-kmod, tfe 直接与 kni 通信 * 新增 enable_kni_v3=1 配置项 * develop_build_release 分支关闭 ASAN 检测 * 修正根据 CMSG 恢复 TCP 链接时没有正确填写 TCP 时间戳启用选项的问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/service/tfe-env.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script') diff --git a/script/service/tfe-env.service b/script/service/tfe-env.service index 3ae24b8..5bf650f 100644 --- a/script/service/tfe-env.service +++ b/script/service/tfe-env.service @@ -13,7 +13,7 @@ RemainAfterExit=yes ExecStart=/bin/true ExecStop=/bin/true -ExecStartPost=/usr/sbin/modprobe tfe-kmod +# ExecStartPost=/usr/sbin/modprobe tfe-kmod ExecStartPost=/usr/sbin/ip link set ${TFE_DEVICE_DATA_INCOMING} address ${TFE_LOCAL_MAC_DATA_INCOMING} ExecStartPost=/usr/sbin/ip link set ${TFE_DEVICE_DATA_INCOMING} up ExecStartPost=/usr/sbin/ip addr flush dev ${TFE_DEVICE_DATA_INCOMING} @@ -44,7 +44,7 @@ ExecStopPost=/usr/sbin/ip -6 route del default via fd00::01 ExecStopPost=/usr/sbin/ip -6 route del local default dev lo table 102 ExecStopPost=/usr/sbin/ip addr del fd00::02/64 dev ${TFE_DEVICE_DATA_INCOMING} ExecStopPost=/usr/sbin/ip link set ${TFE_DEVICE_DATA_INCOMING} down -ExecStopPost=/usr/sbin/modprobe -r tfe-kmod +# ExecStopPost=/usr/sbin/modprobe -r tfe-kmod [Install] RequiredBy=tfe.service -- cgit v1.2.3