mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
team: add support for sending multicast rejoins
Similar to what is implemented in bonding. User is able to ask team driver to send IGMP rejoins in case port is enabled or disabled. Using previously introduced netdev notifier. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4aa5dee4d9
commit
492b200efd
2 changed files with 91 additions and 0 deletions
|
@ -200,6 +200,12 @@ struct team {
|
|||
atomic_t count_pending;
|
||||
struct delayed_work dw;
|
||||
} notify_peers;
|
||||
struct {
|
||||
unsigned int count;
|
||||
unsigned int interval; /* in ms */
|
||||
atomic_t count_pending;
|
||||
struct delayed_work dw;
|
||||
} mcast_rejoin;
|
||||
long mode_priv[TEAM_MODE_PRIV_LONGS];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue