"llm/git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "f503a848c2aedc51250cfee143cc473d469551de"
Commit 35da37f9 authored by Jialin Li's avatar Jialin Li
Browse files

tofino: move tofino into sims/net for consistency

parent ba969986
...@@ -16,7 +16,7 @@ sims/net/tap/net_tap ...@@ -16,7 +16,7 @@ sims/net/tap/net_tap
sims/net/switch/net_switch sims/net/switch/net_switch
sims/net/menshen/menshen_hw sims/net/menshen/menshen_hw
sims/net/menshen/obj_dir sims/net/menshen/obj_dir
sims/tofino/tofino sims/net/tofino/tofino
doc/doxygen doc/doxygen
doc/_build doc/_build
images/kernel/kheaders/ images/kernel/kheaders/
......
...@@ -503,7 +503,7 @@ class TofinoNet(NetSim): ...@@ -503,7 +503,7 @@ class TofinoNet(NetSim):
super().__init__() super().__init__()
def run_cmd(self, env): def run_cmd(self, env):
cmd = env.repodir + '/sims/tofino/tofino' cmd = env.repodir + '/sims/net/tofino/tofino'
cmd += f' -S {self.sync_period} -E {self.eth_latency} -t {self.tofino_log_path}' cmd += f' -S {self.sync_period} -E {self.eth_latency} -t {self.tofino_log_path}'
if not self.sync: if not self.sync:
cmd += ' -u' cmd += ' -u'
......
...@@ -27,5 +27,6 @@ $(eval $(call subdir,tap)) ...@@ -27,5 +27,6 @@ $(eval $(call subdir,tap))
$(eval $(call subdir,switch)) $(eval $(call subdir,switch))
$(eval $(call subdir,pktgen)) $(eval $(call subdir,pktgen))
$(eval $(call subdir,menshen)) $(eval $(call subdir,menshen))
$(eval $(call subdir,tofino))
include mk/subdir_post.mk include mk/subdir_post.mk
...@@ -25,6 +25,5 @@ include mk/subdir_pre.mk ...@@ -25,6 +25,5 @@ include mk/subdir_pre.mk
$(eval $(call subdir,external)) $(eval $(call subdir,external))
$(eval $(call subdir,net)) $(eval $(call subdir,net))
$(eval $(call subdir,nic)) $(eval $(call subdir,nic))
$(eval $(call subdir,tofino))
include mk/subdir_post.mk include mk/subdir_post.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment