You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Adds the per-port `linkScanMode` config that later diffs use to pick the
linkscan mode. This diff is config and state plumbing only -- nothing reads the
setting yet, so behavior is unchanged.
- `switch_config.thrift`: new `LinkScanMode` enum (`SOFTWARE` / `HARDWARE`) plus
`PortConfig.linkScanMode` (field 45). Leaving the field unset means FBOSS
never programs the mode and leaves whatever the SDK came up with alone; either
value is written down to the SDK.
- `switch_state.thrift` / `state/Port.h`: matching `PortFields` field 73 plus
getter/setter, so the setting is warmboot-serialized like the rest of the port
fields.
- `ApplyThriftConfig.cpp`: propagates config to switch state.
`fsdb_model_thriftpath.h` is regenerated via
`buck2 run fbcode//fboss/fsdb/if/oss:sync_model_thriftpath`, as its CI verify
step requires.
Reviewed By: jasmeetbagga
Differential Revision: D116373299
fbshipit-source-id: bd32ee3006c9227f69dd011e489f0613d4e6328d
0 commit comments