commit | e91c31e4aa379cc269dc654c3193e78ee9ac10db | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Sun Feb 26 23:17:12 2017 +0800 |
committer | Jiri Pirko <jiri@mellanox.com> | Fri Mar 17 19:04:54 2017 +0100 |
tree | 050f6496d222e523d60211de840a476f94f3ab5c | |
parent | 046fb6ba0aec8246075b18d787daec43201566fa [diff] |
teamd: check port link_up when a port is added with loadbalance runner In loadbalance runner, when a port with no carrier is added, the port's 'enabled' option should have been set false, so that it can change to other ports to send the packet. This patch is to fix it by checking it in lb's watch_ops .port_added(). Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com>