"stubs/vscode:/vscode.git/clone" did not exist on "4a874a6b7593910546dba70a44d7ec51013c9de5"
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
sims/net/switch/net_switch
sims/net/menshen/menshen_hw
sims/net/menshen/obj_dir
sims/tofino/tofino
sims/net/tofino/tofino
doc/doxygen
doc/_build
images/kernel/kheaders/
......
......@@ -503,7 +503,7 @@ class TofinoNet(NetSim):
super().__init__()
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}'
if not self.sync:
cmd += ' -u'
......
......@@ -27,5 +27,6 @@ $(eval $(call subdir,tap))
$(eval $(call subdir,switch))
$(eval $(call subdir,pktgen))
$(eval $(call subdir,menshen))
$(eval $(call subdir,tofino))
include mk/subdir_post.mk
......@@ -25,6 +25,5 @@ include mk/subdir_pre.mk
$(eval $(call subdir,external))
$(eval $(call subdir,net))
$(eval $(call subdir,nic))
$(eval $(call subdir,tofino))
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