summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2025-10-17 03:41:53 +0000
committerJakub Kicinski <kuba@kernel.org>2025-10-21 18:08:23 -0700
commitd4fde269a970666a30dd3abd0413273a06dd972d (patch)
treedcf9b67fbc793891855820bc0eb85df962110355 /tools/perf/scripts/python/stackcollapse.py
parent28098defc79fe7d29e6bfe4eb6312991f6bdc3d3 (diff)
bonding: use common function to compute the features
Use the new functon netdev_compute_master_upper_features() to compute the bonding features. Note that bond_compute_features() currently uses bond_for_each_slave() to traverse the lower devices list, and that is just a macro wrapper of netdev_for_each_lower_private(). We use similar helper netdev_for_each_lower_dev() in netdev_compute_master_upper_features() to iterate the slave device, as there is not need to get the private data. No functional change intended. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://patch.msgid.link/20251017034155.61990-3-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions