Commit f2bdd037 authored by Adam Wujek's avatar Adam Wujek 💬

userspace/rtud: remove adding local macs

Removed code used to be to add rtu entries for local ports. Such setup suppouse
to allow access to ARM CPU from switch's ports. However, hw_addr in hal_shmem
was not filled and it end up that address 00:00:00:00:00:00 was added.

Removed solution didn't work neither we wanted it to be there.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent d729624f
......@@ -117,20 +117,6 @@ static int rtu_create_static_entries()
enabled_port_mask |= (1 << hal_ports_local_copy[i].hw_index);
port_was_up[i] = state_up(hal_ports_local_copy[i].state);
pr_info(
"adding static route for port %s index %d [mac %s]\n",
hal_ports_local_copy[i].name,
hal_ports_local_copy[i].hw_index,
mac_to_string(hal_ports_local_copy[i].hw_addr)
);
err =
rtu_fd_create_entry(hal_ports_local_copy[i].hw_addr, 0,
(1 << hal_nports_local), STATIC,
OVERRIDE_EXISTING);
if (err)
return err;
}
// Broadcast MAC
......
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