Skip to content

tfportd: enable front-port links on softnpu - #416

Open
matoushybl wants to merge 1 commit into
oxidecomputer:mainfrom
matoushybl:eitri/tfportd-enable-front-links
Open

matoushybl wants to merge 1 commit into
oxidecomputer:mainfrom
matoushybl:eitri/tfportd-enable-front-links

Conversation

@matoushybl

Copy link
Copy Markdown

dpd only auto-enables rear ports in softnpu mode, while tfportd created front-port links (e.g. qsfp0/0) with enabled=false and never enabled them. That left the switch zone's front link administratively down after every switch-zone boot, requiring a manual 'swadm link enable'.

Enable the link using the LinkId returned by link_create, and re-enable an existing-but-disabled link (self-heal for upgrades and restarts).

This problem was found while trying to run the Oxide stack on a homelab and the discovery was assisted by an LLM.

dpd only auto-enables rear ports in softnpu mode, while tfportd created
front-port links (e.g. qsfp0/0) with enabled=false and never enabled them.
That left the switch zone's front link administratively down after every
switch-zone boot, requiring a manual 'swadm link enable'.

Enable the link using the LinkId returned by link_create, and re-enable an
existing-but-disabled link (self-heal for upgrades and restarts).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant