Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions task/monorail-server/src/bsp/sidecar_bcd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,38 +110,38 @@ mod map {

// See RFD144 for a detailed look at the design
pub const PORT_MAP: PortMap = PortMap::new([
SGMII, // 0 | DEV1G_0 | SERDES1G_1 | Cubby 0
SGMII, // 1 | DEV1G_1 | SERDES1G_2 | Cubby 1
SGMII, // 2 | DEV1G_2 | SERDES1G_3 | Cubby 2
SGMII, // 3 | DEV1G_3 | SERDES1G_4 | Cubby 3
SGMII, // 4 | DEV1G_4 | SERDES1G_5 | Cubby 4
SGMII, // 5 | DEV1G_5 | SERDES1G_6 | Cubby 5
SGMII, // 6 | DEV1G_6 | SERDES1G_7 | Cubby 6
SGMII, // 7 | DEV1G_7 | SERDES1G_8 | Cubby 7
SGMII, // 8 | DEV2G5_0 | SERDES6G_0 | Cubby 8
SGMII, // 9 | DEV2G5_1 | SERDES6G_1 | Cubby 9
SGMII, // 10 | DEV2G5_2 | SERDES6G_2 | Cubby 10
SGMII, // 11 | DEV2G5_3 | SERDES6G_3 | Cubby 11
SGMII, // 12 | DEV2G5_4 | SERDES6G_4 | Cubby 12
SGMII, // 13 | DEV2G5_5 | SERDES6G_5 | Cubby 13
SGMII, // 14 | DEV2G5_6 | SERDES6G_6 | Cubby 14
SGMII, // 15 | DEV2G5_7 | SERDES6G_7 | Cubby 15
SGMII, // 16 | DEV2G5_8 | SERDES6G_8 | Cubby 16
SGMII, // 17 | DEV2G5_9 | SERDES6G_9 | Cubby 17
SGMII, // 18 | DEV2G5_10 | SERDES6G_10 | Cubby 18
SGMII, // 19 | DEV2G5_11 | SERDES6G_11 | Cubby 19
SGMII, // 20 | DEV2G5_12 | SERDES6G_12 | Cubby 20
SGMII, // 21 | DEV2G5_13 | SERDES6G_13 | Cubby 21
SGMII, // 0 | DEV1G_0 | SERDES1G_1 | Cubby 24
SGMII, // 1 | DEV1G_1 | SERDES1G_2 | Cubby 26
SGMII, // 2 | DEV1G_2 | SERDES1G_3 | Cubby 30
SGMII, // 3 | DEV1G_3 | SERDES1G_4 | Cubby 28
SGMII, // 4 | DEV1G_4 | SERDES1G_5 | Cubby 16
SGMII, // 5 | DEV1G_5 | SERDES1G_6 | Cubby 18
SGMII, // 6 | DEV1G_6 | SERDES1G_7 | Cubby 22
SGMII, // 7 | DEV1G_7 | SERDES1G_8 | Cubby 20
SGMII, // 8 | DEV2G5_0 | SERDES6G_0 | Cubby 14
SGMII, // 9 | DEV2G5_1 | SERDES6G_1 | Cubby 12
SGMII, // 10 | DEV2G5_2 | SERDES6G_2 | Cubby 8
SGMII, // 11 | DEV2G5_3 | SERDES6G_3 | Cubby 10
SGMII, // 12 | DEV2G5_4 | SERDES6G_4 | Cubby 6
SGMII, // 13 | DEV2G5_5 | SERDES6G_5 | Cubby 4
SGMII, // 14 | DEV2G5_6 | SERDES6G_6 | Cubby 0
SGMII, // 15 | DEV2G5_7 | SERDES6G_7 | Cubby 2
SGMII, // 16 | DEV2G5_8 | SERDES6G_8 | Cubby 25
SGMII, // 17 | DEV2G5_9 | SERDES6G_9 | Cubby 27
SGMII, // 18 | DEV2G5_10 | SERDES6G_10 | Cubby 31
SGMII, // 19 | DEV2G5_11 | SERDES6G_11 | Cubby 29
SGMII, // 20 | DEV2G5_12 | SERDES6G_12 | Cubby 17
SGMII, // 21 | DEV2G5_13 | SERDES6G_13 | Cubby 19
None, // 22
None, // 23
SGMII, // 24 | DEV2G5_16 | SERDES6G_16 | Cubby 22
SGMII, // 25 | DEV2G5_17 | SERDES6G_17 | Cubby 23
SGMII, // 26 | DEV2G5_18 | SERDES6G_18 | Cubby 24
SGMII, // 27 | DEV2G5_19 | SERDES6G_19 | Cubby 25
SGMII, // 28 | DEV2G5_20 | SERDES6G_20 | Cubby 26
SGMII, // 29 | DEV2G5_21 | SERDES6G_21 | Cubby 27
SGMII, // 30 | DEV2G5_22 | SERDES6G_22 | Cubby 28
SGMII, // 31 | DEV2G5_23 | SERDES6G_23 | Cubby 29
SGMII, // 24 | DEV2G5_16 | SERDES6G_16 | Cubby 15
SGMII, // 25 | DEV2G5_17 | SERDES6G_17 | Cubby 13
SGMII, // 26 | DEV2G5_18 | SERDES6G_18 | Cubby 9
SGMII, // 27 | DEV2G5_19 | SERDES6G_19 | Cubby 11
SGMII, // 28 | DEV2G5_20 | SERDES6G_20 | Cubby 7
SGMII, // 29 | DEV2G5_21 | SERDES6G_21 | Cubby 5
SGMII, // 30 | DEV2G5_22 | SERDES6G_22 | Cubby 1
SGMII, // 31 | DEV2G5_23 | SERDES6G_23 | Cubby 3
None, // 32
None, // 33
None, // 34
Expand All @@ -150,19 +150,19 @@ mod map {
None, // 37
None, // 38
None, // 39
QSGMII_100M, // 40 | DEV1G_16 | SERDES6G_14 | Peer SP
QSGMII_100M, // 41 | DEV1G_17 | SERDES6G_14 | PSC0
QSGMII_100M, // 42 | DEV1G_18 | SERDES6G_14 | PSC1
QSGMII_100M, // 40 | DEV1G_16 | SERDES6G_14 | PSC0
QSGMII_100M, // 41 | DEV1G_17 | SERDES6G_14 | PSC1
QSGMII_100M, // 42 | DEV1G_18 | SERDES6G_14 | Peer SP
QSGMII_100M, // 43 | Unused
QSGMII_1G, // 44 | DEV1G_20 | SERDES6G_15 | Technician 1
QSGMII_1G, // 45 | DEV1G_21 | SERDES6G_15 | Technician 2
QSGMII_1G, // 44 | DEV1G_20 | SERDES6G_15 | Technician 0
QSGMII_1G, // 45 | DEV1G_21 | SERDES6G_15 | Technician 1
None, // 46 | Unused (configured in QSGMII mode by port 44)
None, // 47 | Unused (configured in QSGMII mode by port 44)
SGMII, // 48 | DEV2G5_24 | SERDES1G_0 | Local SP
SGMII, // 48 | DEV2G5_24 | SERDES1G_0 | Local SP
BASE_KR, // 49 | DEV10G_0 | SERDES10G_0 | Tofino 2
None, // 50 | Unused
SGMII, // 51 | DEV2G5_27 | SERDES10G_2 | Cubby 30 (shadows DEV10G_2)
SGMII, // 52 | DEV2G5_28 | SERDES10G_3 | Cubby 31 (shadows DEV10G_3)
SGMII, // 51 | DEV2G5_27 | SERDES10G_2 | Cubby 23 (shadows DEV10G_2)
SGMII, // 52 | DEV2G5_28 | SERDES10G_3 | Cubby 21 (shadows DEV10G_3)
]);
}
pub use map::PORT_MAP;
Expand Down
Loading