diff options
| author | Jiri Pirko <jpirko@redhat.com> | 2012-04-04 08:16:27 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-04-04 20:30:40 -0400 |
| commit | 01d7f30a9f962573b6c91ed520c73fb30658d826 (patch) | |
| tree | 44103605b79d249f4e602ad97f59feccf33b7b05 /drivers/net/team/Kconfig | |
| parent | 2615598fc100451c71b83d06bdf5faead619a40e (diff) | |
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 | |||
| 40 | To compile this team mode as a module, choose M here: the module | 40 | To compile this team mode as a module, choose M here: the module |
| 41 | will be called team_mode_activebackup. | 41 | will be called team_mode_activebackup. |
| 42 | 42 | ||
| 43 | config NET_TEAM_MODE_LOADBALANCE | ||
| 44 | tristate "Load-balance mode support" | ||
| 45 | depends on NET_TEAM | ||
| 46 | ---help--- | ||
| 47 | This mode provides load balancing functionality. Tx port selection | ||
| 48 | is done using BPF function set up from userspace (bpf_hash_func | ||
| 49 | option) | ||
| 50 | |||
| 51 | To compile this team mode as a module, choose M here: the module | ||
| 52 | will be called team_mode_loadbalance. | ||
| 53 | |||
| 43 | endif # NET_TEAM | 54 | endif # NET_TEAM |
