libteam: Add team_get_port_enabled function

This function corresponds to team_set_port_enabled.
With this function, it is able to get the enabled state for port
identified by port_ifindex.

Signed-off-by: Shuotian Cheng <stcheng_89@hotmail.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2 files changed