summaryrefslogtreecommitdiff
path: root/include/linux/if_team.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-07-20 14:13:52 +0400
committerDavid S. Miller <davem@davemloft.net>2013-07-24 03:52:47 +0400
commitfc423ff00df3a19554414eed80aef9de9b50313e (patch)
treef3c9c5997d4aa19afee173c384da88cbde2036ad /include/linux/if_team.h
parentab2cfbb2bddb7c7bc4394e52e91044d5ff645cb4 (diff)
downloadlinux-fc423ff00df3a19554414eed80aef9de9b50313e.tar.xz
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/linux/if_team.h')
-rw-r--r--include/linux/if_team.h8
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];
};