diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-07-20 12:13:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-23 16:52:47 -0700 |
commit | fc423ff00df3a19554414eed80aef9de9b50313e (patch) | |
tree | f3c9c5997d4aa19afee173c384da88cbde2036ad /include | |
parent | ab2cfbb2bddb7c7bc4394e52e91044d5ff645cb4 (diff) |
team: add peer notification
When port is enabled or disabled, allow to notify peers by unsolicitated
NAs or gratuitous ARPs. Disabled by default.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_team.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index f6156f91eb1c..b0b83683461e 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h @@ -10,9 +10,9 @@ #ifndef _LINUX_IF_TEAM_H_ #define _LINUX_IF_TEAM_H_ - #include <linux/netpoll.h> #include <net/sch_generic.h> +#include <linux/types.h> #include <uapi/linux/if_team.h> struct team_pcpu_stats { @@ -194,6 +194,12 @@ struct team { bool user_carrier_enabled; bool queue_override_enabled; struct list_head *qom_lists; /* array of queue override mapping lists */ + struct { + unsigned int count; + unsigned int interval; /* in ms */ + atomic_t count_pending; + struct delayed_work dw; + } notify_peers; long mode_priv[TEAM_MODE_PRIV_LONGS]; }; |