The Reset and Address Filter (RAF) register is shown in the following figure. This registerallows the software to block reception of multicast and broadcast Ethernet frames. The multicast reject bit provides a means of blocking receive multicast Ethernet frames without having to clear out any multicast address values stored in the multicast address table. It also provides a means for allowing more than four multicast addresses to be received (the limit of the multicast address table). To accept more than four multicast addresses, the FMI register is set to promiscuous mode and the multicast reject bit of this register set to allow multicast frames. See for more information.
The software might also need to filter out additional receive frames with other addresses. The broadcast reject bit provides the only means for rejecting receive broadcast Ethernet frames.
As additional functionality was added to the subsystem, bits in this register are used to control those new functions. To minimize the effect of these new bits on existing applications the default values of these bits disable this functionality. This ensures that when applications do not use the more recent functionality, the subsystem operates the way it did previously.
The following table shows the Reset and Address Filter register bit definitions.
Bits | Name | Access | Reset Value | Description |
---|---|---|---|---|
31:15 | Reserved | RO | 0x0 | Reserved: These bits are reserved for future use and always return zero. |
14 | RxBadFrmEn | R/W | 0 |
Receive Bad Frame Enable: This bit provides a means
for allowing bad receive frames to be accepted and passed to the RX AXI4-Stream interface as if they were good frames.
|
13 | Reserved | RO | 0 | Reserved: These bits are reserved for future use and always return zero. |
12 | EMultiFltrEnbl | R/W | 0 |
Enhanced Multicast Filter Enable:
This bit provides a simple way to disable the new enhanced multicast filtering if
present. This is necessary if promiscuous address reception mode is desired or if use
of the built-in 4 TEMAC multicast address registers is required when the subsystem
includes the enhanced multicast address filtering function enabled at build time by
the C_MCAST_EXTEND parameters. See for more details.
|
11 | NewFncEnbl | R/W | 0 |
New Functions Enable: This bit allows you to disable
VLAN tagging, VLAN stripping, VLAN translation, and extended multicast filtering.
Enabling the new functions only affect operation if the functions have been added to
the design using the appropriate parameters at build-time.
|
10:9 | RxVStrpMode | R/W | 00 |
Receive VLAN Strip Mode: These bits select the
operation mode for receive VLAN stripping and are only used when C_RXVLAN_STRP = 1.
Valid VLAN TPID values must be initialized in the TPID0 and TPID1 registers. For mode
11, the Receive VLAN data table must be initialized. See for more details.
|
8:7 | TxVStrpMode | R/W | 00 |
Transmit VLAN Strip Mode: These bits select the
operation mode for transmit VLAN stripping and are only used when C_TXVLAN_STRP = 1.
Valid VLAN TPID values must be initialized in the TPID0 and TPID1 registers. For mode
11, the Transmit VLAN data table must be initialized. See for more details.
|
6:5 | RxVTagMode | R/W | 00 |
Receive VLAN Tag Mode: These bits select the
operation mode for receive VLAN tagging and are only used when C_RXVLAN_TAG = 1. The
VLAN tag that is added is from the RTAG register. Valid VLAN TPID values must be
initialized in the TPID0 and TPID1 registers. For mode 11, the Receive VLAN data table
must be initialized. See for more details.
|
4:3 | TxVTagMode | R/W | 00 |
Transmit VLAN Tag Mode: These bits select the
operation mode for transmit VLAN tagging and are only used when C_TXVLAN_TAG = 1. The
VLAN tag that is added is from the TTAG register. Valid VLAN TPID values must be
initialized in the TPID0 and TPID1 registers. For mode 11, the Transmit VLAN data
table must be initialized. See for more details.
|
2 | BcstRej | R/W | 0 |
Reject Receive Broadcast Destination Address: This
bit provides a means for accepting or rejecting broadcast Ethernet frames.
|
1 | McstRej | R/W | 0 |
Reject Receive Multicast Destination Address: This
bit provides a means for accepting or rejecting multicast Ethernet frames.
|
0 | Reserved | RO | 0 | Reserved: These bits are reserved for future definition and always return zero. |