summaryrefslogtreecommitdiffstats
path: root/include/linux/if_team.h
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-07-11 05:34:02 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-12 08:08:20 -0700
commit6e88e1357c788d40cd64a8c9080e81ca6c9eee0f (patch)
treecb7d6bf1fab09dc22116fc0ae0ba488023aea3a6 /include/linux/if_team.h
parentf0a70e902f483295a8b6d74ef4393bc577b703d7 (diff)
downloadlinux-6e88e1357c788d40cd64a8c9080e81ca6c9eee0f.tar.gz
linux-6e88e1357c788d40cd64a8c9080e81ca6c9eee0f.tar.bz2
linux-6e88e1357c788d40cd64a8c9080e81ca6c9eee0f.zip
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/linux/if_team.h')
-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 {
};
extern bool team_port_enabled(struct team_port *port);
+extern bool team_port_txable(struct team_port *port);
struct team_mode_ops {
int (*init)(struct team *team);