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

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
...@@ -2123,6 +2123,11 @@ struct netdev_lag_upper_info { ...@@ -2123,6 +2123,11 @@ struct netdev_lag_upper_info {
enum netdev_lag_tx_type tx_type; enum netdev_lag_tx_type tx_type;
}; };
struct netdev_lag_lower_state_info {
u8 link_up : 1,
tx_enabled : 1;
};
#include <linux/notifier.h> #include <linux/notifier.h>
/* netdevice notifier chain. Please remember to update the rtnetlink /* netdevice notifier chain. Please remember to update the rtnetlink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment