Jiri Pirko | 3d249d4 | 2011-11-11 22:16:48 +0000 | [diff] [blame] | 1 | menuconfig NET_TEAM |
Kees Cook | 513fe16 | 2012-10-02 11:18:27 -0700 | [diff] [blame] | 2 | tristate "Ethernet team driver support" |
Jiri Pirko | 3d249d4 | 2011-11-11 22:16:48 +0000 | [diff] [blame] | 3 | ---help--- |
| 4 | This allows one to create virtual interfaces that teams together |
| 5 | multiple ethernet devices. |
| 6 | |
| 7 | Team devices can be added using the "ip" command from the |
| 8 | iproute2 package: |
| 9 | |
| 10 | "ip link add link [ address MAC ] [ NAME ] type team" |
| 11 | |
| 12 | To compile this driver as a module, choose M here: the module |
| 13 | will be called team. |
| 14 | |
| 15 | if NET_TEAM |
| 16 | |
Jiri Pirko | 5fc8899 | 2012-07-11 05:34:03 +0000 | [diff] [blame] | 17 | config NET_TEAM_MODE_BROADCAST |
| 18 | tristate "Broadcast mode support" |
| 19 | depends on NET_TEAM |
| 20 | ---help--- |
| 21 | Basic mode where packets are transmitted always by all suitable ports. |
| 22 | |
Jiri Pirko | 1d76efe | 2012-08-17 04:00:48 +0000 | [diff] [blame] | 23 | All added ports are setup to have team's device address. |
Jiri Pirko | 5fc8899 | 2012-07-11 05:34:03 +0000 | [diff] [blame] | 24 | |
| 25 | To compile this team mode as a module, choose M here: the module |
| 26 | will be called team_mode_broadcast. |
| 27 | |
Jiri Pirko | 3d249d4 | 2011-11-11 22:16:48 +0000 | [diff] [blame] | 28 | config NET_TEAM_MODE_ROUNDROBIN |
| 29 | tristate "Round-robin mode support" |
| 30 | depends on NET_TEAM |
| 31 | ---help--- |
| 32 | Basic mode where port used for transmitting packets is selected in |
| 33 | round-robin fashion using packet counter. |
| 34 | |
Jiri Pirko | 1d76efe | 2012-08-17 04:00:48 +0000 | [diff] [blame] | 35 | All added ports are setup to have team's device address. |
Jiri Pirko | 3d249d4 | 2011-11-11 22:16:48 +0000 | [diff] [blame] | 36 | |
| 37 | To compile this team mode as a module, choose M here: the module |
| 38 | will be called team_mode_roundrobin. |
| 39 | |
Jiri Pirko | 753f993 | 2013-03-06 01:31:13 +0000 | [diff] [blame] | 40 | config NET_TEAM_MODE_RANDOM |
| 41 | tristate "Random mode support" |
| 42 | depends on NET_TEAM |
| 43 | ---help--- |
| 44 | Basic mode where port used for transmitting packets is selected |
| 45 | randomly. |
| 46 | |
| 47 | All added ports are setup to have team's device address. |
| 48 | |
| 49 | To compile this team mode as a module, choose M here: the module |
| 50 | will be called team_mode_random. |
| 51 | |
Jiri Pirko | 3d249d4 | 2011-11-11 22:16:48 +0000 | [diff] [blame] | 52 | config NET_TEAM_MODE_ACTIVEBACKUP |
| 53 | tristate "Active-backup mode support" |
| 54 | depends on NET_TEAM |
| 55 | ---help--- |
| 56 | Only one port is active at a time and the rest of ports are used |
| 57 | for backup. |
| 58 | |
| 59 | Mac addresses of ports are not modified. Userspace is responsible |
| 60 | to do so. |
| 61 | |
| 62 | To compile this team mode as a module, choose M here: the module |
| 63 | will be called team_mode_activebackup. |
| 64 | |
Jiri Pirko | 01d7f30 | 2012-04-04 12:16:27 +0000 | [diff] [blame] | 65 | config NET_TEAM_MODE_LOADBALANCE |
| 66 | tristate "Load-balance mode support" |
| 67 | depends on NET_TEAM |
| 68 | ---help--- |
| 69 | This mode provides load balancing functionality. Tx port selection |
| 70 | is done using BPF function set up from userspace (bpf_hash_func |
| 71 | option) |
| 72 | |
| 73 | To compile this team mode as a module, choose M here: the module |
| 74 | will be called team_mode_loadbalance. |
| 75 | |
Jiri Pirko | 3d249d4 | 2011-11-11 22:16:48 +0000 | [diff] [blame] | 76 | endif # NET_TEAM |