-
Notifications
You must be signed in to change notification settings - Fork 95
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
mlxreg: can't write large registers #329
Comments
fix for this issue can be found in master_devel branch as part of PR#540. |
The issue doesn't seem to be fixed in MFT 4.20:
|
The same issue is still present in MFT 4.21. @tomer540 could you please clarify if MFT >= 4.20 is supposed to include the fix from PR#540? |
i will check with relevant owners and update you. |
It seems only the 'get' command was fixed, the 'set' has some internal issues. |
Thanks @tomer540 ! |
@tomer540 long overdue update, but I just wanted to confirm that this issue has been fixed in MFT 4.22. |
Closing #329 |
I am happy I was able to help, even if it took so long |
Hi!
I'm trying to use
mlxreg --set
to update a switch's node description, but it looks like there's an issue with register sizes, that may be larger than the maximum register size that can be sent in-band.Specifically, I can read the SPZR register just fine:
But setting a value for node_description[0] fails with
-E- Failed to send access register: Register is too large
:This seems to be related to the fact that the SPZR register has a size of 0x70, while the maximum register size authorized to be sent inband is 0x2c (INBAND_MAX_REG_SIZE = 44, as defined here:
mstflint/mtcr_ul/mtcr_ul_com.c
Line 2700 in 45e11fb
There's same issue with both
mlxreg
from MFT andmstreg
from mstflint.What would be the best way around this?
Thanks!
The text was updated successfully, but these errors were encountered: