Skip to content

[Nexthop][m4062nhp] Add 4x200G-FR4 speed combination so qsfp_service can program FR4_2x400G optics - #1526

Closed
zackary-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:zackary-nexthop.m4062nhp.fr4-2x400g-4x200g-combo
Closed

zackary-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:zackary-nexthop.m4062nhp.fr4-2x400g-4x200g-combo

Conversation

@zackary-nexthop

Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Under 4x200G breakout (PROFILE_200G_2_PAM4_RS544X2N_OPTICAL, 200G on 2 host lanes), qsfp_service cannot program FR4_2x400G optics: the properties entry for media interface 11 declares 200G only on 4 host lanes, so application selection finds no candidate and every module fails with Unsupported Application, retrying forever at about 6/s. The modules do advertise a matching application (200GAUI-2-L, media code 0xC0, 2 host lanes, host-assign 0x55).

This adds the missing combination to entry "11" of TransceiverPropertiesDefault.h: four 200G ports on host/media lanes 0/2/4/6 with mediaLaneCode 0xC0, plus the 2x400G-FR4 to 4x200G-FR4 speed-change transition. The byte gets a proper name, SMFMediaInterfaceCode::FR2_200G = 0xC0, alongside a new MediaInterfaceCode::FR2_200G = 37 used as the combo's reporting code, and verify200gProfile in the hw_test utils accepts both. No logic touched, data and enum values only.

Test Plan

Validated the exact JSON on an m4062nhp (INNOLIGHT T-OL8CNT-NFM optics) by loading it through the --transceiver_properties_config runtime override:

  • Reproduced first: flipped cage 1 to 4x200G on stock defaults, got the ticket's Unsupported Application retry loop.
  • With the new table: config loads (Loaded transceiver properties config with 14 SMF entries), modules program to app 5, all lanes ACTIVATED, Current Media Interface: 192 (0xC0), zero errors.
  • Regression: reverted the cage to 800G with the new table still loaded; module reprogrammed to app 6 (FR8_800G) cleanly. Box restored to its original config, all 128 links up.

@zackary-nexthop
zackary-nexthop requested a review from a team as a code owner August 18, 2026 18:59
@meta-cla meta-cla Bot added the CLA Signed label Aug 18, 2026
@srikrishnagopu
srikrishnagopu self-requested a review August 25, 2026 20:27
@meta-codesync

meta-codesync Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@srikrishnagopu has imported this pull request. If you are a Meta employee, you can view this in D117410585.

…am FR4_2x400G optics

Signed-off-by: Zackary Ayoun <zackary@nexthop.ai>
@zackary-nexthop
zackary-nexthop force-pushed the zackary-nexthop.m4062nhp.fr4-2x400g-4x200g-combo branch from c75fd40 to 56c2293 Compare August 28, 2026 10:22
@facebook-github-tools

Copy link
Copy Markdown

@zackary-nexthop has updated the pull request. You must reimport the pull request before landing.

@meta-codesync meta-codesync Bot closed this in 85d2fc4 Sep 5, 2026
@meta-codesync meta-codesync Bot added the Merged label Sep 5, 2026
@meta-codesync

meta-codesync Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

@srikrishnagopu merged this pull request in 85d2fc4.

@zackary-nexthop
zackary-nexthop deleted the zackary-nexthop.m4062nhp.fr4-2x400g-4x200g-combo branch September 8, 2026 10:55
snisha-cisco pushed a commit to snisha-cisco/fboss that referenced this pull request Sep 11, 2026
…0G optics (facebook#1526)

Summary:
**Pre-submission checklist**
- [x] I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running `pip install -r requirements-dev.txt && pre-commit install`
- [x] `pre-commit run`

Under 4x200G breakout (`PROFILE_200G_2_PAM4_RS544X2N_OPTICAL`, 200G on 2 host lanes), `qsfp_service` cannot program `FR4_2x400G` optics: the properties entry for media interface 11 declares 200G only on 4 host lanes, so application selection finds no candidate and every module fails with `Unsupported Application`, retrying forever at about 6/s. The modules do advertise a matching application (`200GAUI-2-L`, media code `0xC0`, 2 host lanes, host-assign `0x55`).

This adds the missing combination to entry `"11"` of `TransceiverPropertiesDefault.h`: four 200G ports on host/media lanes 0/2/4/6 with `mediaLaneCode` `0xC0`, plus the `2x400G-FR4` to `4x200G-FR4` speed-change transition. The byte gets a proper name, `SMFMediaInterfaceCode::FR2_200G = 0xC0`, alongside a new `MediaInterfaceCode::FR2_200G = 37` used as the combo's reporting code, and `verify200gProfile` in the hw_test utils accepts both. No logic touched, data and enum values only.

Pull Request resolved: facebook#1526

Test Plan:
Validated the exact JSON on an m4062nhp (INNOLIGHT T-OL8CNT-NFM optics) by loading it through the `--transceiver_properties_config` runtime override:

- Reproduced first: flipped cage 1 to 4x200G on stock defaults, got the ticket's `Unsupported Application` retry loop.
- With the new table: config loads (`Loaded transceiver properties config with 14 SMF entries`), modules program to app 5, all lanes `ACTIVATED`, `Current Media Interface: 192` (`0xC0`), zero errors.
- Regression: reverted the cage to 800G with the new table still loaded; module reprogrammed to app 6 (`FR8_800G`) cleanly. Box restored to its original config, all 128 links up.

Reviewed By: xanabani

Differential Revision: D117410585

Pulled By: srikrishnagopu

fbshipit-source-id: 91912dd724b396e1a1cc5f9533a7be5de13a5e4b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants