Commit | Line | Data |
---|---|---|
3d249d4c JP |
1 | menuconfig NET_TEAM |
2 | tristate "Ethernet team driver support (EXPERIMENTAL)" | |
3 | depends on EXPERIMENTAL | |
4 | ---help--- | |
5 | This allows one to create virtual interfaces that teams together | |
6 | multiple ethernet devices. | |
7 | ||
8 | Team devices can be added using the "ip" command from the | |
9 | iproute2 package: | |
10 | ||
11 | "ip link add link [ address MAC ] [ NAME ] type team" | |
12 | ||
13 | To compile this driver as a module, choose M here: the module | |
14 | will be called team. | |
15 | ||
16 | if NET_TEAM | |
17 | ||
5fc88991 JP |
18 | config NET_TEAM_MODE_BROADCAST |
19 | tristate "Broadcast mode support" | |
20 | depends on NET_TEAM | |
21 | ---help--- | |
22 | Basic mode where packets are transmitted always by all suitable ports. | |
23 | ||
24 | All added ports are setup to have team's mac address. | |
25 | ||
26 | To compile this team mode as a module, choose M here: the module | |
27 | will be called team_mode_broadcast. | |
28 | ||
3d249d4c JP |
29 | config NET_TEAM_MODE_ROUNDROBIN |
30 | tristate "Round-robin mode support" | |
31 | depends on NET_TEAM | |
32 | ---help--- | |
33 | Basic mode where port used for transmitting packets is selected in | |
34 | round-robin fashion using packet counter. | |
35 | ||
5fc88991 | 36 | All added ports are setup to have team's mac address. |
3d249d4c JP |
37 | |
38 | To compile this team mode as a module, choose M here: the module | |
39 | will be called team_mode_roundrobin. | |
40 | ||
41 | config NET_TEAM_MODE_ACTIVEBACKUP | |
42 | tristate "Active-backup mode support" | |
43 | depends on NET_TEAM | |
44 | ---help--- | |
45 | Only one port is active at a time and the rest of ports are used | |
46 | for backup. | |
47 | ||
48 | Mac addresses of ports are not modified. Userspace is responsible | |
49 | to do so. | |
50 | ||
51 | To compile this team mode as a module, choose M here: the module | |
52 | will be called team_mode_activebackup. | |
53 | ||
01d7f30a JP |
54 | config NET_TEAM_MODE_LOADBALANCE |
55 | tristate "Load-balance mode support" | |
56 | depends on NET_TEAM | |
57 | ---help--- | |
58 | This mode provides load balancing functionality. Tx port selection | |
59 | is done using BPF function set up from userspace (bpf_hash_func | |
60 | option) | |
61 | ||
62 | To compile this team mode as a module, choose M here: the module | |
63 | will be called team_mode_loadbalance. | |
64 | ||
3d249d4c | 65 | endif # NET_TEAM |