aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-06-19 01:54:11 -0400
committerDavid S. Miller <davem@davemloft.net>2012-06-19 18:00:23 -0400
commit0f1aad2b7f01d88782fbf4ab08b13a7d92b9b6b2 (patch)
treef37dde889cebd9168e0c8a0784d128a006367dd0 /include
parent85d59a87248de90e3266e10dce99477b60f524c0 (diff)
team: allow async option changes
This patch adds two exported functions. One allows to mark option instance as changed and the second processes change check and does transfer of changed options to userspace. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_team.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h
index 30854cb0c855..2f2972535cc0 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -112,6 +112,9 @@ struct team_option {
112 int (*setter)(struct team *team, struct team_gsetter_ctx *ctx); 112 int (*setter)(struct team *team, struct team_gsetter_ctx *ctx);
113}; 113};
114 114
115extern void team_option_inst_set_change(struct team_option_inst_info *opt_inst_info);
116extern void team_options_change_check(struct team *team);
117
115struct team_mode { 118struct team_mode {
116 const char *kind; 119 const char *kind;
117 struct module *owner; 120 struct module *owner;