Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb1b2e3c authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

net: introduce lower state changed info structure for LAG lowers



This is shared info structure for bonding and team. Serves to pass down
info about link state and port activity to notification listeners.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 04d48266
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2123,6 +2123,11 @@ struct netdev_lag_upper_info {
	enum netdev_lag_tx_type tx_type;
};

struct netdev_lag_lower_state_info {
	u8 link_up : 1,
	   tx_enabled : 1;
};

#include <linux/notifier.h>

/* netdevice notifier chain. Please remember to update the rtnetlink