EMAC Registers
994
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Ethernet Controller
15.6.38 EMACVLNINCREP Register (Offset = 0x584) [reset = 0x0]
Ethernet MAC VLAN Tag Inclusion or Replacement (EMACVLNINCREP)
The MAC VLAN Tag Inclusion or Replacement (EMACVLNINCREP) register contains the VLAN tag for
insertion or replacement in the transmit frames.
EMACVLNINCREP is shown in
and described in
.
Return to
Figure 15-53. EMACVLNINCREP Register
31
30
29
28
27
26
25
24
RESERVED
R-0x0
23
22
21
20
19
18
17
16
RESERVED
CSVL
VLP
VLC
R-0x0
R/W-0x0
R/W-0x0
R/W-0x0
15
14
13
12
11
10
9
8
VLT
R/W-0x0
7
6
5
4
3
2
1
0
VLT
R/W-0x0
Table 15-62. EMACVLNINCREP Register Field Descriptions
Bit
Field
Type
Reset
Description
31-20
RESERVED
R
0x0
19
CSVL
R/W
0x0
C-VLAN or S-VLAN.
0x0 = C-VLAN type (0x8100) is inserted or replaced in the
transmitted frames.
0x1 = S-VLAN type (0x88A8) is inserted or replaced in the 13th and
14th bytes of transmitted frames.
18
VLP
R/W
0x0
VLAN Priority Control.
0x0 = The control input from the transmit descriptor is used, and the
VLC bit field (bits [17:16]) is ignored.
0x1 = The VLC bit field is used for VLAN deletion, insertion, or
replacement.
17-16
VLC
R/W
0x0
VLAN Tag Control in Transmit Frames. Changes to this field take
effect only on the start of a frame. If you write this register field when
a frame is being transmitted, only the subsequent frame can use the
updated value, that is, the current frame does not use the updated
value.
0x0 = No VLAN tag deletion, insertion, or replacement
0x1 = VLAN tag deletionThe MAC removes the VLAN type (bytes 13
and 14) and VLAN tag (bytes 15 and 16) of all transmitted frames
with VLAN tags.
0x2 = VLAN tag insertionThe MAC inserts VLT in bytes 15 and 16 of
the frame after inserting the Type value (0x8100/0x88a8) in bytes 13
and 14. This operation is performed on all transmitted frames,
irrespective of whether they already have a VLAN tag.
0x3 = VLAN tag replacementThe MAC replaces VLT in bytes 15 and
16 of all VLAN-type transmitted frames (Bytes 13 and 14 are
0x8100/0x88a8).
15-0
VLT
R/W
0x0
VLAN Tag for Transmit Frames. This field contains the value of the
VLAN tag to be inserted or replaced. The value must only be
changed when the transmit lines are inactive or during the
initialization phase. Bits[15:13] are the User Priority, Bit 12 is the
CFI/DEI, and Bits[11:0] are the VLAN tag's VID field.