aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-07-11 01:34:02 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-12 11:08:20 -0400
commit6e88e1357c788d40cd64a8c9080e81ca6c9eee0f (patch)
treecb7d6bf1fab09dc22116fc0ae0ba488023aea3a6 /include
parentf0a70e902f483295a8b6d74ef4393bc577b703d7 (diff)
team: use function team_port_txable() for determing enabled and up port
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h
index 99efd60fa8c9..dca426cb1e12 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -64,6 +64,7 @@ struct team_port {
64}; 64};
65 65
66extern bool team_port_enabled(struct team_port *port); 66extern bool team_port_enabled(struct team_port *port);
67extern bool team_port_txable(struct team_port *port);
67 68
68struct team_mode_ops { 69struct team_mode_ops {
69 int (*init)(struct team *team); 70 int (*init)(struct team *team);