1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Ethernet team driver support"
5 This allows one to create virtual interfaces that teams together
6 multiple ethernet devices.
8 Team devices can be added using the "ip" command from the
11 "ip link add link [ address MAC ] [ NAME ] type team"
13 To compile this driver as a module, choose M here: the module
18 config NET_TEAM_MODE_BROADCAST
19 tristate "Broadcast mode support"
22 Basic mode where packets are transmitted always by all suitable ports.
24 All added ports are setup to have team's device address.
26 To compile this team mode as a module, choose M here: the module
27 will be called team_mode_broadcast.
29 config NET_TEAM_MODE_ROUNDROBIN
30 tristate "Round-robin mode support"
33 Basic mode where port used for transmitting packets is selected in
34 round-robin fashion using packet counter.
36 All added ports are setup to have team's device address.
38 To compile this team mode as a module, choose M here: the module
39 will be called team_mode_roundrobin.
41 config NET_TEAM_MODE_RANDOM
42 tristate "Random mode support"
45 Basic mode where port used for transmitting packets is selected
48 All added ports are setup to have team's device address.
50 To compile this team mode as a module, choose M here: the module
51 will be called team_mode_random.
53 config NET_TEAM_MODE_ACTIVEBACKUP
54 tristate "Active-backup mode support"
57 Only one port is active at a time and the rest of ports are used
60 Mac addresses of ports are not modified. Userspace is responsible
63 To compile this team mode as a module, choose M here: the module
64 will be called team_mode_activebackup.
66 config NET_TEAM_MODE_LOADBALANCE
67 tristate "Load-balance mode support"
70 This mode provides load balancing functionality. Tx port selection
71 is done using BPF function set up from userspace (bpf_hash_func
74 To compile this team mode as a module, choose M here: the module
75 will be called team_mode_loadbalance.