Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apps.mellanox.connectx: add support for PCAM register #1512

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

alexandergall
Copy link
Contributor

The ethernet port speed is read from the eth_proto_oper field of the PTYS register. This field was extended with the ext_proto_oper field in newer devices. In particular, 200G and 400G speeds are contained in this field rather than eth_ptoto_oper.

Which of these fields is valid for the device is determined by the field ptys_extended_ethernet provided by the PCAM (Ports CApabilities Mask) register. Whether this register exists or not is, in turn, determined by the pcam_reg flag of the HCA general cpabilities.

The ethernet port speed is read from the eth_proto_oper field of the
PTYS register. This field was extended with the ext_proto_oper field
in newer devices. In particular, 200G and 400G speeds are contained in
this field rather than eth_ptoto_oper.

Which of these fields is valid for the device is determined by the
field ptys_extended_ethernet provided by the PCAM (Ports CApabilities
Mask) register. Whether this register exists or not is, in turn,
determined by the pcam_reg flag of the HCA general cpabilities.
@eugeneia eugeneia added the merged label Oct 2, 2023
@eugeneia eugeneia added the release-enigma October 2023 release label Oct 6, 2023
@eugeneia eugeneia merged commit 4f1613f into snabbco:master Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged release-enigma October 2023 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants