Transmit VLAN Data Table - 7.2 English

AXI 1G/2.5G Ethernet Subsystem Product Guide (PG138)

Document ID
PG138
Release Date
2023-11-15
Version
7.2 English

This table is used for data to support transmit VLAN tagging, VLAN stripping, and VLAN translation. The table is always 4K entries deep but the width depends on how many of the VLAN functions are included at build time. VLAN translation requires 12 bits at each location while VLAN stripping and VLAN tagging require 1 bit each at each location. When all transmit VLAN functions are included, the table is 14 bits wide. If VLAN functions are not included, the bits for those functions are not present and writes to those bits have no effect while reads return zero.

Important: The table can be either 1-bit, 2-bits, 12-bits, 13-bits, or 14-bits wide depending on which features are present. The table must be initialized by software through the AXI4-Lite and is addressed on 32-bit word boundaries.

The transmit VLAN Table entry with all VLAN functions present is shown in the first following figure while the second figure shows the transmit VLAN Table entry with only the translation field. The bit locations for the functions do not change even when some functions are not used in the build. See Extended VLAN Support for more details.

Figure 1. Transmit VLAN Table Entry with all Fields (0x0000_4000-0x0000_7FFF) AXI Ethernet Page-1 Sheet.2 Sheet.8 Sheet.9 Sheet.10 31 31 Sheet.11 Sheet.12 Sheet.13 Sheet.14 13 13 Sheet.15 14 14 Sheet.16 2 2 Sheet.17 0 0 Sheet.18 1 1 Sheet.19 Reserved Reserved Sheet.20 StrpEnbl StrpEnbl Sheet.21 TagEnbl TagEnbl Sheet.29 TransVlanVid TransVlanVid Sheet.30 MSB MSB Sheet.31 LSB LSB Standard Arrow.2 Sheet.3 X14061 X14061 Standard Arrow.4 Standard Arrow.5 Standard Arrow.6
Figure 2. Transmit VLAN Table Entry with One Field (offset 0x0000_4000-0x0000_7FFF) AXI Ethernet Page-1 Sheet.1 Sheet.2 Sheet.3 Sheet.4 31 31 Sheet.5 Sheet.6 Sheet.7 Sheet.8 Sheet.9 13 13 Sheet.10 14 14 Sheet.11 2 2 Sheet.12 0 0 Sheet.13 1 1 Sheet.14 Reserved Reserved Sheet.15 Reserved Reserved Sheet.16 Reserved Reserved Sheet.17 TransVlanVid TransVlanVid Sheet.18 MSB MSB Sheet.19 LSB LSB Standard Arrow.2 Sheet.21 X14064 X14064 Standard Arrow.4 Standard Arrow.5 Standard Arrow.6