]> git.karo-electronics.de Git - linux-beck.git/commit
team: introduce random mode
authorJiri Pirko <jiri@resnulli.us>
Wed, 6 Mar 2013 01:31:13 +0000 (01:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2013 19:55:20 +0000 (14:55 -0500)
commit753f993911b32e479b4fab5d228dc07c11d1e7e7
treef2b3e9f3d6c06366ac24e5222f2475b319bc379f
parentacbba0d0f88e2577b9d92b61b136d13f65831a52
team: introduce random mode

As suggested by Eric Dumazet, allow user to select mode which chooses
TX port randomly. Functionality should be more of less similar to
round-robin mode with even lower overhead.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/Kconfig
drivers/net/team/Makefile
drivers/net/team/team_mode_random.c [new file with mode: 0644]
drivers/net/team/team_mode_roundrobin.c
include/linux/if_team.h