Skip to content

net/netdev/netdev_txnotify.c: add debug log with interface name#18851

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
masc2008:netdev_txnotify_debug_clean
May 5, 2026
Merged

net/netdev/netdev_txnotify.c: add debug log with interface name#18851
xiaoxiang781216 merged 1 commit into
apache:masterfrom
masc2008:netdev_txnotify_debug_clean

Conversation

@masc2008
Copy link
Copy Markdown
Contributor

@masc2008 masc2008 commented May 5, 2026

Summary

  • Add ninfo() in netdev_txnotify_dev() to log the network interface name when TX notification is triggered, aiding network debugging.

Impact

  • No functional change. Debug output only visible when CONFIG_DEBUG_NET_INFO is enabled.
  • This is quite useful when debug on a system with multi-net interfaces. It can tell which net device is chosen.

Testing

  • Build tested with CONFIG_DEBUG_NET_INFO enabled. and can see logs like:

netdev_txnotify_dev txnotify dev: cell-net.

Tested on BES chips.

@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 May 5, 2026
Add ninfo() in netdev_txnotify_dev() to log the network interface
name when TX notification is triggered, aiding network debugging.

Signed-off-by: Jerry Ma <shichunma@bestechnic.com>
@masc2008 masc2008 force-pushed the netdev_txnotify_debug_clean branch from 8366cf7 to f56e1b0 Compare May 5, 2026 09:25
@xiaoxiang781216 xiaoxiang781216 merged commit de5cc18 into apache:master May 5, 2026
41 checks passed
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.

4 participants