diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-03-06 01:31:13 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-06 14:55:20 -0500 |
commit | 753f993911b32e479b4fab5d228dc07c11d1e7e7 (patch) | |
tree | f2b3e9f3d6c06366ac24e5222f2475b319bc379f /drivers/net/team/Kconfig | |
parent | acbba0d0f88e2577b9d92b61b136d13f65831a52 (diff) | |
download | linux-753f993911b32e479b4fab5d228dc07c11d1e7e7.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/team/Kconfig')
-rw-r--r-- | drivers/net/team/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/team/Kconfig b/drivers/net/team/Kconfig index c3011af68e91..c853d84fd99f 100644 --- a/drivers/net/team/Kconfig +++ b/drivers/net/team/Kconfig @@ -37,6 +37,18 @@ config NET_TEAM_MODE_ROUNDROBIN To compile this team mode as a module, choose M here: the module will be called team_mode_roundrobin. +config NET_TEAM_MODE_RANDOM + tristate "Random mode support" + depends on NET_TEAM + ---help--- + Basic mode where port used for transmitting packets is selected + randomly. + + All added ports are setup to have team's device address. + + To compile this team mode as a module, choose M here: the module + will be called team_mode_random. + config NET_TEAM_MODE_ACTIVEBACKUP tristate "Active-backup mode support" depends on NET_TEAM |