Feature #12714
closed
Show ``Inactive`` for Hardware Crypto output instead of empty field on System Information dashboard widget when nothing can be accelerated
Added by → luckman212 almost 3 years ago.
Updated over 2 years ago.
Plus Target Version:
22.05
- Status changed from New to Not a Bug
- Plus Target Version deleted (
22.01)
It's working fine here on the latest RC on 6100 and several other platforms.
From the output in the widget above you don't have AES-NI nor QAT loaded (both say "inactive") so it's accurately saying nothing will be accelerated.
In the lower screenshot you have AES-NI active, so it's showing what it would accelerate.
If I have one or the other module loaded, it shows the expected list of ciphers. If I disable all of the acceleration modules and reboot, the field is blank, which is expected and correct.
Okay thanks Jim
FYI I have my crypto set to "QAT" on the 6100... which also seems to be the default setting.
So it's correct that the widget displays what's ACTIVE on the system, not what it SUPPORTS? Was this always true? Intuitively I would expect it to show what features are supported.
It does show both supported (See the "Yes") and active/inactive. The Yes/No is whether or not the hardware supports the function, the active/inactive is whether or not the module is loaded. It's all there in the widget.
Ok, I would suggest a small wording change then
"Hardware crypto" → "Hardware crypto (active)"
And the crypto_accel_get_algs()
function should return "Inactive"
instead of an empty string in case $algs_str
is empty....
Just would be clearer imo. If you're ok with it I can make a PR for this.
Can this be "un-closed" so the PR can be considered
- Tracker changed from Bug to Feature
- Subject changed from Dashboard - System Information > Hardware Crypto returns empty string on 22.01 rc to Show ``Inactive`` for Hardware Crypto output instead of empty field on System Information dashboard widget when nothing can be accelerated
- Status changed from Not a Bug to Pull Request Review
- Target version set to CE-Next
- Plus Target Version set to Plus-Next
- Target version changed from CE-Next to 2.7.0
- Plus Target Version changed from Plus-Next to 22.05
- Status changed from Pull Request Review to Feedback
- Assignee set to Jim Pingle
Hardware crypto on the dashboard shows "Inactive" if AES-NI is disabled and the accelerated algorithms if it is active. Looks good.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF