diff options
author | Jiri Pirko <jpirko@redhat.com> | 2012-04-04 16:16:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-05 04:30:40 +0400 |
commit | 01d7f30a9f962573b6c91ed520c73fb30658d826 (patch) | |
tree | 44103605b79d249f4e602ad97f59feccf33b7b05 /drivers/net/team/Kconfig | |
parent | 2615598fc100451c71b83d06bdf5faead619a40e (diff) | |
download | linux-01d7f30a9f962573b6c91ed520c73fb30658d826.tar.xz |
team: add loadbalance mode
This patch introduces new team mode. It's TX port is selected by
user-set BPF hash function.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team/Kconfig')
-rw-r--r-- | drivers/net/team/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/team/Kconfig b/drivers/net/team/Kconfig index 248a144033ca..89024d5fc33a 100644 --- a/drivers/net/team/Kconfig +++ b/drivers/net/team/Kconfig @@ -40,4 +40,15 @@ config NET_TEAM_MODE_ACTIVEBACKUP To compile this team mode as a module, choose M here: the module will be called team_mode_activebackup. +config NET_TEAM_MODE_LOADBALANCE + tristate "Load-balance mode support" + depends on NET_TEAM + ---help--- + This mode provides load balancing functionality. Tx port selection + is done using BPF function set up from userspace (bpf_hash_func + option) + + To compile this team mode as a module, choose M here: the module + will be called team_mode_loadbalance. + endif # NET_TEAM |