-
Notifications
You must be signed in to change notification settings - Fork 247
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
cpu: support for detecting nx-gzip coprocessor feature #956
cpu: support for detecting nx-gzip coprocessor feature #956
Conversation
|
✅ Deploy Preview for kubernetes-sigs-nfd ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Hi @Chandan-Abhyankar. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/easycla |
Hi @adrianchiris @Ethyling |
Hey @Chandan-Abhyankar @prb112. Is this feature available for every archs or should we move this to an arch dependent file with a stub file for archs that don't support it? Something similar to rdt_amd64.go and rdt_stub.go. I don't have a lot of knowledge about CPU attributes. Otherwise the code looks good to me, but I don't have the hardware to test it |
Hey @Ethyling it is architecture specific - it'd be similar to the intel flags such as |
@prb112 Yes, I think we should move this to a separate file so we don't include it for archs that don't have this feature. Thank you |
We'll take care of it. Thanks @Ethyling |
ecd71bf
to
875dce2
Compare
Hi @Ethyling As changes are architecture specific [Power], I have moved code to cpuid_ppc64le.go. |
Hey @Chandan-Abhyankar, I don't this this feature is related to |
Hi @Ethyling nx-gzip is an on-chip accelerator to facilitate compression/decompression on PowerPC. PR from centos elaborates in more detail. Do you still want us to split this out? Thank you for the clarification, Paul |
Thank your for the review @Ethyling. I'm not an expert on power arch so I'm a bit unknowledgeable here 😊 If it's a cpu hw capability I think we could (or even should) put it under Talking about ping @yselkowitz any thoughts from you? /ok-to-test |
CPUID should be just that, which this isn't. It should be split out and handled separately (but still under Also, be sure to use |
Thank you for the feedback @yselkowitz @marquiz we've taken the comments into account and are working on a revision. |
875dce2
to
84406a7
Compare
@marquiz , Thanks a lot for your pointers, help and support. I have now integrated all changes in one commit. Kindly have a re-look. |
Thanks @Chandan-Abhyankar. Still one nit about the commit message body 🙈 Use full sentences, starting with a capital letter and end with a period, e.g. You could also remove the merge commit by rebasing on top of latest master. |
0ea6447
to
cfb4524
Compare
@marquiz , Kindly review changes. I was facing issues with rebasing on top of latest master, hence followed my usual steps to check-in code. |
Thanks @Chandan-Abhyankar for the update. The commit looks a bit strange as it touches unrelated files, in docs for example. Could you do |
Nest accelerator gzip support for IBM Power systems. Signed-off-by: Chandan Abhyankar <[email protected]>
715062e
to
d66096a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Chandan-Abhyankar, looks good to go to me 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Chandan-Abhyankar, marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retitle cpu: support for detecting nx-gzip coprocessor feature |
@marquiz , Thanks a lot for your help and support. |
/lgtm |
LGTM label has been added. Git tree hash: 609eb74ff94a3f9bc24014a4d513f0b3d50371ec
|
Thank you all - we appreciate all your review and effort in supporting this feature. |
Signed-off-by: Chandan Abhyankar [email protected]
Adding nx-gzip label support