V5-dev-bugs
V5 version of WR switch HDL shall include (at least) the following additional feature/modules:
- Topology Resolution Unit
- Time Aware Traffic Shaper
Known bugs/issues/things to do are listed below*
(1) Detection of link failure
- it works fine if we unplug the end of the cable which is downstream
- we have unidirectional traffic:
PC_1
Switch_1>(redundant connection)Switch_2>PC_2 - we unplug (simulate failure) the end of the cable connected to Switch_2
- link-down detection + link killing + switchover is really nice and very few frames are lost
- we have unidirectional traffic:
PC_1
- it does not work fine if we unplug the end of the cable which is
upstream
- we have unidirectional traffic:
PC_1
Switch_1>(redundant connection)Switch_2>PC_2 - we unplug (simulate failure) the end of the cable connected to Switch_1
- link-down detection seems to be too slow (some corrupted frames are received, synch_lost is detected many times
- many frames lost during the switch-over
- we have unidirectional traffic:
PC_1
(2) XOR-ing of backup ports
- tru_port.vhd:
- works for RSTP/SBP (fast swichover of ports)
s_port_mask <= s_status_mask and s_egress_mask and (not s_self_mask) and (not s_xor_mask); - works for LACP (aggregation distribution
s_port_mask <= s_status_mask and s_egress_mask and (not s_self_mask);-- and (not s_xor_mask);
- works for RSTP/SBP (fast swichover of ports)
(3) TRU lookup by FID or VID
- introduce function to choose whether the TRU TAB should be defined by FID or VID