Visible to Intel only — GUID: ari1662618742176
Ixiasoft
Visible to Intel only — GUID: ari1662618742176
Ixiasoft
5.1. MAC Configuration Register Space
Dword Offset | Section | Description |
---|---|---|
0x00 – 0x17 | Base Configuration | Base registers to configure the MAC function. At the minimum, you must configure the following functions:
The following registers are shared among all instances of a multiport MAC:
|
0x18 – 0x38 | Statistics Counters | Counters collecting traffic statistics. |
0x3A | Transmit Command | Transmit and receive datapaths control register. |
0x3B | Receive Command | |
0x3C – 0x3E | Extended Statistics Counters | Upper 32 bits of selected statistics counters. These registers are used if you turn on the option to use extended statistics counters. |
0x3F | Reserved 8 | Unused. |
0x40 – 0x7F | Multicast Hash Table | 64-entry write-only hash table to resolve multicast addresses. Only bit 0 in each entry is significant. When you write a 1 to a dword offset in the hash table, the MAC accepts all multicast MAC addresses that hash to the value of the address (bits 5:0). Otherwise, the MAC rejects the multicast address. This table is cleared during reset. |
0x80 – 0x9F | MDIO Space 0 or PCS Function Configuration |
MDIO Space 0 and MDIO Space 1 map to registers 0 to 31 of the PHY devices whose addresses are configured in the mdio_addr0 and mdio_addr1 registers respectively. For example, register 0 of PHY device 0 maps to dword offset 0x80, register 1 maps to dword offset 0x81 and so forth. Reading or writing to MDIO Space 0 or MDIO Space 1 immediately triggers a corresponding MDIO transaction to read or write the PHY register. Only bits [15:0] of each register are significant. Write 0 to bits [31:16] and ignore them on reads. If your variation does not include the PCS function, you can use MDIO Space 0 and MDIO Space 1 to map to two PHY devices. If your MAC variation includes the PCS function, the PCS function is always device 0 and its configuration registers occupy MDIO Space 0. You can use MDIO Space 1 to map to a PHY device. |
0xA0 – 0xBF | MDIO Space 1 |
|
0xC0 – 0xC7 | Supplementary Address | Supplementary unicast addresses. |
0xC8 – 0xCF | Reserved 8 | Unused. |
0xD0 – 0xD6 | Reserved 8 | Unused. |
0xD7 – 0xE0 | Reserved 8 | Unused. |
0xE1 – 0xE3 | Reserved 8 | Unused. |
Section Content
Base Configuration Registers (Dword Offset 0x00 – 0x17)
Statistics Counters (Dword Offset 0x18 – 0x38)
Transmit and Receive Command Registers (Dword Offset 0x3A – 0x3B)
Supplementary Address (Dword Offset 0xC0 – 0xC7)