SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Table 43-22 describes the features supported by the MAC on the Transmit side.
Feature | Description |
---|---|
Support for C-VLAN and | The inner or outer VLAN tag can be of C-VLAN and S-VLAN type. The VLAN type is specified through the CSVL bit of MAC_VLAN_Incl and MAC_Inner_VLAN_Incl registers. The Ethernet module supports processing of any sequence of outer and inner VLAN tags. |
S-VLAN Tag types | Note: The Ethernet module does not support the C-VLAN S-VLAN sequence. |
The MAC does not check whether the packet provided by the application has a valid sequence of the VLAN Tag types or the insertion or replacement operation results in invalid sequence of VLAN Tag type. Therefore, the application must provide correct sequence of VLAN Tag types and program the MAC in such a way that the application results in correct sequence of VLAN Tag types in the transmitted packet. The application must make sure of the following: | |
The inner tag must not be S-VLAN when outer C-VLAN Tag insertion is enabled. | |
The outer tag must not be C-VLAN when inner S-VLAN Tag insertion is enabled. | |
The inner tag must not be S-VLAN when outer tag must be replaced with C-VLAN. | |
The outer tag must not be C-VLAN when inner tag must be replaced with S-VLAN. | |
VLAN Tag deletion | You can enable the VLAN tag deletion for outer or inner tag through VLC field in the MAC_VLAN_Incl or MAC_Inner_VLAN_Incl register, respectively. When VLAN deletion is enabled, the MAC deletes the tag present at the corresponding position. When a packet has only one tag, the tag is considered as the outer tag. If inner tag deletion is enabled and the packet has only one tag, the MAC does not delete the tag. |
VLAN Tag Insertion or Replacement | You can enable the VLAN tag insertion or replacement for outer or inner tag through VLC field in the MAC_VLAN_Incl or MAC_Inner_VLAN_Incl register, respectively. When VLAN tag insertion or replacement is enabled, the VLTI bit in the MAC_VLAN_Incl or MAC_Inner_VLAN_Incl register is used to determine whether the VLAN tag must be taken from the register or the Control Word. |