diff options
author | Jiri Pirko | 2012-06-19 07:54:16 +0200 |
---|---|---|
committer | David S. Miller | 2012-06-20 00:00:24 +0200 |
commit | 4bccfd17e1f77593e99d5321c48c704a0a43ab68 (patch) | |
tree | 3ee54ed3435e9eb57963c71f561b2977466a4733 /include/linux/if_team.h | |
parent | team: pass NULL to __team_option_inst_add() instead of 0 (diff) | |
download | kernel-qcow2-linux-4bccfd17e1f77593e99d5321c48c704a0a43ab68.tar.gz kernel-qcow2-linux-4bccfd17e1f77593e99d5321c48c704a0a43ab68.tar.xz kernel-qcow2-linux-4bccfd17e1f77593e99d5321c48c704a0a43ab68.zip |
team: add port_[enabled/disabled] mode callbacks
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_team.h')
-rw-r--r-- | include/linux/if_team.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index 2f2972535cc0..c1938869191f 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h @@ -74,6 +74,8 @@ struct team_mode_ops { int (*port_enter)(struct team *team, struct team_port *port); void (*port_leave)(struct team *team, struct team_port *port); void (*port_change_mac)(struct team *team, struct team_port *port); + void (*port_enabled)(struct team *team, struct team_port *port); + void (*port_disabled)(struct team *team, struct team_port *port); }; enum team_option_type { |