Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/pr-projects.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"ladakh800bcls",
"m4061nhp",
"m4062nhp",
"m4340nhp",
"meru800bfa",
"meru800bia",
"minipack",
Expand Down
1 change: 1 addition & 0 deletions fboss/agent/Platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ int Platform::getLaneCount(cfg::PortProfileID profile) const {
case cfg::PortProfileID::PROFILE_800G_8_PAM4_RS544X2N_OPTICAL:
case cfg::PortProfileID::PROFILE_800G_8_PAM4_RS544X2N_COPPER:
case cfg::PortProfileID::PROFILE_1600G_8_PAM4_RS544X2N_OPTICAL:
case cfg::PortProfileID::PROFILE_1600G_8_PAM4_RS544X2N_COPPER:
return 8;

case cfg::PortProfileID::PROFILE_DEFAULT:
Expand Down
2 changes: 2 additions & 0 deletions fboss/agent/hw/test/ProdConfigFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ uint16_t uplinksCountFromSwitch(PlatformType mode) {
case PM::PLATFORM_ICECUBE800BC:
case PM::PLATFORM_ICETEA800BC:
case PM::PLATFORM_MONTBLANC:
case PM::PLATFORM_M4061NHP:
case PM::PLATFORM_M4062NHP:
case PM::PLATFORM_M5120CSC:
return 4;
Expand Down Expand Up @@ -195,6 +196,7 @@ cfg::PortSpeed getPortSpeed(PlatformType platformType) {
portSpeed = cfg::PortSpeed::TWOHUNDREDG;
break;
case PlatformType::PLATFORM_MONTBLANC:
case PlatformType::PLATFORM_M4061NHP:
portSpeed = cfg::PortSpeed::FOURHUNDREDG;
break;
case PlatformType::PLATFORM_MINIPACK3N:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ TEST(
PlatformType::PLATFORM_M4062NHP,
PlatformType::PLATFORM_M4061CLSC,
PlatformType::PLATFORM_M5120CSC,
PlatformType::PLATFORM_M4340NHP,
PlatformType::PLATFORM_M4061NHP,
futurePlatformType,
};
for (const auto type : platformTypes) {
Expand Down
1 change: 1 addition & 0 deletions fboss/agent/switch_config.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ enum PortProfileID {
PROFILE_1600G_8_PAM4_RS544X2N_OPTICAL = 63,
PROFILE_212POINT5G_1_PAM4_RS544X2N_OPTICAL = 64,
PROFILE_212POINT5G_1_PAM4_RS544X2N_COPPER = 65,
PROFILE_1600G_8_PAM4_RS544X2N_COPPER = 66,
}

enum Scope {
Expand Down
2 changes: 2 additions & 0 deletions fboss/agent/test/utils/PortTestUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ cfg::PortSpeed getSpeed(cfg::PortProfileID profile) {
return cfg::PortSpeed::EIGHTHUNDREDG;

case cfg::PortProfileID::PROFILE_1600G_8_PAM4_RS544X2N_OPTICAL:
case cfg::PortProfileID::PROFILE_1600G_8_PAM4_RS544X2N_COPPER:
return cfg::PortSpeed::ONEPOINTSIXT;

case cfg::PortProfileID::PROFILE_DEFAULT:
Expand Down Expand Up @@ -151,6 +152,7 @@ TransmitterTechnology getMediaType(cfg::PortProfileID profile) {
case cfg::PortProfileID::PROFILE_400G_2_PAM4_RS544X2N_COPPER:
case cfg::PortProfileID::PROFILE_800G_4_PAM4_RS544X2N_COPPER:
case cfg::PortProfileID::PROFILE_212POINT5G_1_PAM4_RS544X2N_COPPER:
case cfg::PortProfileID::PROFILE_1600G_8_PAM4_RS544X2N_COPPER:
return TransmitterTechnology::COPPER;

case cfg::PortProfileID::PROFILE_10G_1_NRZ_NOFEC_OPTICAL:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"platformType": 60,
"productNamePrefixes": [
"M4061NHP"
],
"modeNames": [
"m4061nhp"
],
"asicType": 18,
"numSwitchAsics": 1
}
Loading
Loading