verilog-ethernet icon indicating copy to clipboard operation
verilog-ethernet copied to clipboard

VLAN support

Open thienanvu opened this issue 4 years ago • 4 comments

Hi,

Thank you for sharing your Ethernet/UDP/IP core. Just wonder if VLAN in the MAC layer is supported?

Thanks

thienanvu avatar Sep 14 '21 17:09 thienanvu

VLAN tags are not currently supported.

alexforencich avatar Sep 14 '21 19:09 alexforencich

Thank you Alex. Is it something feasible to add to your cores? I am thinking of trying your UDP/IP block with the Xilinx Ethernet Subsystem that supports VLAN.

thienanvu avatar Sep 15 '21 00:09 thienanvu

Well, the MACs in here do not care about VLAN tags. They simply pass the whole frame through, VLAN tag and all. So from that standpoint it doesn't matter if you use the MACs here or the Xilinx MAC. The problem is the rest of the stack - there are no signals to carry the VLAN tag, so that would have to be added to basically everything. And the Ethernet frame handling modules would have to be updated to insert/remove the tag.

alexforencich avatar Sep 15 '21 00:09 alexforencich

Thank you for your clarification. Are the Ethernet frame handling in eth_axis_rx/tx modules?

thienanvu avatar Sep 15 '21 00:09 thienanvu