Visible to Intel only — GUID: tac1667520486154
Ixiasoft
Visible to Intel only — GUID: tac1667520486154
Ixiasoft
4.6. Switching Port Muxes between Store and Forward and Cut-Through Modes
As part of the MACsec Authentication procedure, the Port Muxes on both the Common Port and the Controlled Port must be switched from “Store and Forward” mode to “Cut-Through” mode. Following Authentication, the Port Muxes must be switched back to “Store and Forward” mode.
In addition, if you intend to send packets that are integrity-protected only on a particular port, that Port Mux must be configured to “Store and Forward” mode as well.
To do this, you must access each Port Mux’s CSR space.
Mux Port Number | Mux Management Address Offset | Register Name |
---|---|---|
0 | 0x300 | P0_STORE_AND_FORWARD |
1 | 0x304 | P1_STORE_AND_FORWARD |
2 | 0x308 | P2_STORE_AND_FORWARD |
— | — | — |
63 | 0x3FC | P63_STORE_AND_FORWARD |
Register | Description | Address | Bit Description | SW Access | Reset |
---|---|---|---|---|---|
P<N>_STORE_ AND_FORWARD |
Store and Forward Control Register | 0x300 + 4*N[63:1] | Reserved | Reserved | 63’h0 |
0x300 + 4*N[0] | Store and Forward Control Register
1’b0: Port is in Cut-Through Mode 1’b1: Port is in Store and Forward Mode |
Read-Write | 1’b1 |
Interface Name | Port Mux |
---|---|
Decrypt Port Mux Management Interface | Common Port |
Encrypt Port Mux Management Interface | Controlled Port |
- Using the “rx_mux_app_pp_lite*” management bus, write 64’h0 to address offset 0x308.
- Using the “tx_mux_app_pp_lite*” management bus, write 64’h1 to address offset 0x304.