diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2023-02-14 13:01:17 -0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-02-16 10:11:14 +0100 |
commit | 3ba0bf47edf955d6f52fdb16b54acd1932cb9445 (patch) | |
tree | e593d1ef314f8a6aba545f46622f8835af5c51cc /tools/perf/scripts/python/task-analyzer.py | |
parent | 802dcbd6f30feaa7c96a1fb4ecb1db57082df9d7 (diff) |
net/core: refactor promiscuous mode message
The kernel stack can be more consistent by printing the IFF_PROMISC
aka promiscuous enable/disable messages with the standard netdev_info
message which can include bus and driver info as well as the device.
typical command usage from user space looks like:
ip link set eth0 promisc <on|off>
But lots of utilities such as bridge, tcpdump, etc put the interface into
promiscuous mode.
old message:
[ 406.034418] device eth0 entered promiscuous mode
[ 408.424703] device eth0 left promiscuous mode
new message:
[ 406.034431] ice 0000:17:00.0 eth0: entered promiscuous mode
[ 408.424715] ice 0000:17:00.0 eth0: left promiscuous mode
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions