summaryrefslogtreecommitdiff
path: root/drivers/net/team/Kconfig
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-04-04 16:16:27 +0400
committerDavid S. Miller <davem@davemloft.net>2012-04-05 04:30:40 +0400
commit01d7f30a9f962573b6c91ed520c73fb30658d826 (patch)
tree44103605b79d249f4e602ad97f59feccf33b7b05 /drivers/net/team/Kconfig
parent2615598fc100451c71b83d06bdf5faead619a40e (diff)
downloadlinux-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/Kconfig11
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