Commit f85d3658 authored by Jialin Li's avatar Jialin Li
Browse files

tofino: disable MAC aging

parent 2231bf37
......@@ -141,11 +141,11 @@ class l2_switch():
self.p4.Ingress.smac.idle_table_set_notify(enable=False,
callback=None)
self.p4.Ingress.smac.idle_table_set_notify(enable=True,
callback=self.aging_cb,
interval = 10000,
min_ttl = 10000,
max_ttl = 60000)
#self.p4.Ingress.smac.idle_table_set_notify(enable=True,
# callback=self.aging_cb,
# interval = 10000,
# min_ttl = 10000,
# max_ttl = 60000)
print("Done")
@staticmethod
......
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