-
Notifications
You must be signed in to change notification settings - Fork 49
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
Decode bytes before running string operations on the same #85
base: mlnx_ofed
Are you sure you want to change the base?
Conversation
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.
Looks good to me. This would uncover in certain conditions where vlan is enabled. Otherwise code path is not exercised.
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.
The code change resolves #84 impacting Socket Priority to User Priority mapping for a parent PF device of the VLAN device.
c71b0d1
to
fb4c658
Compare
When removing spaces, you also removed useful spaces. Please fix that. |
Not able to find which space I have removed, as I have added just the decode calls to line variable. [rohit.mundra@rohit-mundra mlnx-tools]$ git diff HEAD~2
|
Post execution of grep on vlan information for interface and when tc tool is executed get qdisc information for the device, the bytes must be converted to string to run split and regex.
resolve: #84