team: add support for non-ethernet devices
authorJiri Pirko <jiri@resnulli.us>
Fri, 17 Aug 2012 04:00:48 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Aug 2012 09:40:48 +0000 (02:40 -0700)
commit1d76efe1577b4323609b1bcbfafa8b731eda071a
treeddf6fddeee02ad33f304dd5479f57208245a3f88
parent4c6de2fedc321e17487b74547ad9f73f248faaac
team: add support for non-ethernet devices

This is resolved by two things:
1) allow dev_addr of different length than ETH_ALEN
2) during port add, check for dev->type and change it if necessary

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/Kconfig
drivers/net/team/team.c
drivers/net/team/team_mode_broadcast.c
drivers/net/team/team_mode_roundrobin.c
include/linux/if_team.h