Skip to content

Fix the sfputil treats page number as decimal instead of hexadecimal#2

Closed
yuazhe wants to merge 1 commit intomasterfrom
fix_base
Closed

Fix the sfputil treats page number as decimal instead of hexadecimal#2
yuazhe wants to merge 1 commit intomasterfrom
fix_base

Conversation

@yuazhe
Copy link
Owner

@yuazhe yuazhe commented Feb 1, 2024

What I did

sonic-net#3009 breaks the number base rule, treats the page number CLI input as decimal rather than hex, this is used to fix it.

it also contains redundancy function definition, so remove it.

How I did it

add the number conversion

How to verify it

unit test and manually test

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@yuazhe yuazhe force-pushed the fix_base branch 4 times, most recently from 0ebc97e to 3866866 Compare February 1, 2024 13:06
sonic-net#3009 breaks the number
base rule, treats the page number CLI input as decimal rather than hex,
this is used to fix it.

it also containes a redundancy function definition, so remove it.

Signed-off-by: Yuanzhe, Liu <yualiu@nvidia.com>
@yuazhe yuazhe closed this Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants