diff options
| author | Matthias Schiffer <[email protected]> | 2025-05-19 20:46:28 +0000 |
|---|---|---|
| committer | Simon Wunderlich <[email protected]> | 2025-05-31 08:41:11 +0000 |
| commit | 7dc284702bcd065a822a4c0bdbca09a08de5a654 (patch) | |
| tree | 9d69a4d2b54ae05d61cf7637c43c5844c55f0512 /tools/net/ynl/pyynl/lib/ynl.py | |
| parent | batman-adv: Start new development cycle (diff) | |
| download | kernel-7dc284702bcd065a822a4c0bdbca09a08de5a654.tar.gz kernel-7dc284702bcd065a822a4c0bdbca09a08de5a654.zip | |
batman-adv: store hard_iface as iflink private data
By passing the hard_iface to netdev_master_upper_dev_link() as private
data, we can iterate over hardifs of a mesh interface more efficiently
using netdev_for_each_lower_private*() (instead of iterating over the
global hardif list). In addition, this will enable resolving a hardif
from its netdev using netdev_lower_dev_get_private() and getting rid of
the global list altogether in the following patches.
A similar approach can be seen in the bonding driver.
Signed-off-by: Matthias Schiffer <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions
