Visible to Intel only — GUID: zig1654816289920
Ixiasoft
Visible to Intel only — GUID: zig1654816289920
Ixiasoft
6.1.5. Port and Secure Channel Mapping
Port (Identify through AXI-ST TID[5:0]) | TX SC | RX SC | SA |
---|---|---|---|
Port 0 (TID = 0) | TX_LANE_SC0_*[0], TX_LANE_SC1_*[0] CSRs | RX_LANE_SC0_*[0], RX_LANE_SC1_*[0] CSRs | TX_LANE_SC0_SA*[0], TX_LANE_SC1_SA*[0], RX_LANE_SC0_SA*[0], RX_LANE_SC1_SA*[0] CSRs |
Port 1 (TID = 1) | TX_LANE_SC0_*[1], TX_LANE_SC1_*[1] CSRs | RX_LANE_SC0_*[1], RX_LANE_SC1_*[1] CSRs | TX_LANE_SC0_SA*[1], TX_LANE_SC1_SA*[1], RX_LANE_SC0_SA*[1], RX_LANE_SC1_SA*[1] CSRs |
: | : | : | : |
Port 63 (TID = 63) | TX_LANE_SC0_*[63], TX_LANE_SC1_*[63] CSRs | RX_LANE_SC0_*[63], RX_LANE_SC1_*[63] CSRs | TX_LANE_SC0_SA*[63], TX_LANE_SC1_SA*[63], RX_LANE_SC0_SA*[63], RX_LANE_SC1_SA*[63] CSRs |
The MACsec IP supports a maximum of 64 ports on the user interface. Traffic on each port is identified through the AXI-ST TID field. 2 Tx SCs and 2 Rx SCs are assigned to each port and each SC consists of 4 SAs. Each time only 1 Tx SA can be active while there can be multiple Rx SAs active together.
The above table shows the mapping between the MACsec IP ports and SCs/SAs. SCs and SAs are kept in the CSR and the contents are programmed by the SW.
Port (Identify through AXI-ST TID[5:0]) | TX SC | RX SC |
---|---|---|
Port 0 (TID = 0) | TX_LANE_SC0_*[0], TX_LANE_SC1_*[0] CSRs |
for each $port (0 .. (MAX_CRYPTO_CH/16 - 1) ) RX_LANE_SC0_*[$port MOD (MAX_CTRL_PORT - MAX_TX_TID) == 0], RX_LANE_SC1_*[$port MOD (MAX_CTRL_PORT - MAX_TX_TID) == 0] CSRs |
Port 1 (TID = 1) | TX_LANE_SC0_*[1], TX_LANE_SC1_*[1] CSRs |
for each $port (0 .. (MAX_CRYPTO_CH/16 - 1) ) RX_LANE_SC0_*[$port MOD (MAX_CTRL_PORT - MAX_TX_TID) == 1], RX_LANE_SC1_*[$port MOD (MAX_CTRL_PORT - MAX_TX_TID) == 1] CSRs |
: | : | : |
TX Port MAX_TX_TID - 1 (TID = MAX_TX_TID - 1) | TX_LANE_SC0_*[MAX_TX_TID-1], TX_LANE_SC1_*[MAX_TX_TID-1] CSRs |
for each $port (0 .. (MAX_CRYPTO_CH/16 - 1) ) RX_LANE_SC0_*[$port MOD (MAX_CTRL_PORT - MAX_TX_TID) == (MAX_CTRL_PORT - MAX_TX_TID) - 1], RX_LANE_SC1_*[$port MOD (MAX_CTRL_PORT - MAX_TX_TID) == (MAX_CTRL_PORT - MAX_TX_TID) - 1] CSRs |