Skip to content

netdev/netdev_ioctl: log in hex mode for ioctl cmd#18488

Merged
linguini1 merged 1 commit intoapache:masterfrom
masc2008:master
Mar 3, 2026
Merged

netdev/netdev_ioctl: log in hex mode for ioctl cmd#18488
linguini1 merged 1 commit intoapache:masterfrom
masc2008:master

Conversation

@masc2008
Copy link
Contributor

@masc2008 masc2008 commented Mar 3, 2026

It's a more friendly when output cmd in hex mode, since it's defined like: 0x7xx

Note: Please adhere to Contributing Guidelines.

Summary

when enable ninfo, the previous info is like:
netdev_ifr_ioctl cmd: 1803
netdev_ifr_ioctl cmd: 1805

it need a calculator to change it to hex mode when debug, just make it easier to read when debug.

Impact

Just a log.

Testing

old log:
netdev_ifr_ioctl cmd: 1803
netdev_ifr_ioctl cmd: 1805

new log:
netdev_ifr_ioctl cmd: 0x070b
netdev_ifr_ioctl cmd: 0x070d

It's a more friendly when output cmd in hex mode, since it's defined like: 0x7xx

Signed-off-by: Jerry Ma <shichunma@bestechnic.com>
@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small labels Mar 3, 2026
@linguini1 linguini1 merged commit 121e3ac into apache:master Mar 3, 2026
64 of 77 checks passed
@acassis
Copy link
Contributor

acassis commented Mar 3, 2026

I think M$ is not taking care of Github:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants