Kconfig

CONFIG_NET_TEAM Ethernet team driver support

  • Off
  • Module
  • Built in

This allows one to create virtual interfaces that teams together multiple ethernet devices.

Team devices can be added using the "ip" command from the iproute2 package:

"ip link add link [ address MAC ] [ NAME ] type team"

To compile this driver as a module, choose M here: the module will be called team.

If NET_TEAM

CONFIG_NET_TEAM_MODE_BROADCAST Broadcast mode support

  • Off
  • Module
  • Built in

Basic mode where packets are transmitted always by all suitable ports.

All added ports are setup to have team's device address.

To compile this team mode as a module, choose M here: the module will be called team_mode_broadcast.

CONFIG_NET_TEAM_MODE_ROUNDROBIN Round-robin mode support

  • Off
  • Module
  • Built in

Basic mode where port used for transmitting packets is selected in round-robin fashion using packet counter.

All added ports are setup to have team's device address.

To compile this team mode as a module, choose M here: the module will be called team_mode_roundrobin.

CONFIG_NET_TEAM_MODE_RANDOM Random mode support

  • Off
  • Module
  • Built in

Basic mode where port used for transmitting packets is selected randomly.

All added ports are setup to have team's device address.

To compile this team mode as a module, choose M here: the module will be called team_mode_random.

CONFIG_NET_TEAM_MODE_ACTIVEBACKUP Active-backup mode support

  • Off
  • Module
  • Built in

Only one port is active at a time and the rest of ports are used for backup.

Mac addresses of ports are not modified. Userspace is responsible to do so.

To compile this team mode as a module, choose M here: the module will be called team_mode_activebackup.

CONFIG_NET_TEAM_MODE_LOADBALANCE Load-balance mode support

  • Off
  • Module
  • Built in

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.