13d249d4cSJiri Pirkomenuconfig NET_TEAM 2*513fe16aSKees Cook tristate "Ethernet team driver support" 33d249d4cSJiri Pirko ---help--- 43d249d4cSJiri Pirko This allows one to create virtual interfaces that teams together 53d249d4cSJiri Pirko multiple ethernet devices. 63d249d4cSJiri Pirko 73d249d4cSJiri Pirko Team devices can be added using the "ip" command from the 83d249d4cSJiri Pirko iproute2 package: 93d249d4cSJiri Pirko 103d249d4cSJiri Pirko "ip link add link [ address MAC ] [ NAME ] type team" 113d249d4cSJiri Pirko 123d249d4cSJiri Pirko To compile this driver as a module, choose M here: the module 133d249d4cSJiri Pirko will be called team. 143d249d4cSJiri Pirko 153d249d4cSJiri Pirkoif NET_TEAM 163d249d4cSJiri Pirko 175fc88991SJiri Pirkoconfig NET_TEAM_MODE_BROADCAST 185fc88991SJiri Pirko tristate "Broadcast mode support" 195fc88991SJiri Pirko depends on NET_TEAM 205fc88991SJiri Pirko ---help--- 215fc88991SJiri Pirko Basic mode where packets are transmitted always by all suitable ports. 225fc88991SJiri Pirko 231d76efe1SJiri Pirko All added ports are setup to have team's device address. 245fc88991SJiri Pirko 255fc88991SJiri Pirko To compile this team mode as a module, choose M here: the module 265fc88991SJiri Pirko will be called team_mode_broadcast. 275fc88991SJiri Pirko 283d249d4cSJiri Pirkoconfig NET_TEAM_MODE_ROUNDROBIN 293d249d4cSJiri Pirko tristate "Round-robin mode support" 303d249d4cSJiri Pirko depends on NET_TEAM 313d249d4cSJiri Pirko ---help--- 323d249d4cSJiri Pirko Basic mode where port used for transmitting packets is selected in 333d249d4cSJiri Pirko round-robin fashion using packet counter. 343d249d4cSJiri Pirko 351d76efe1SJiri Pirko All added ports are setup to have team's device address. 363d249d4cSJiri Pirko 373d249d4cSJiri Pirko To compile this team mode as a module, choose M here: the module 383d249d4cSJiri Pirko will be called team_mode_roundrobin. 393d249d4cSJiri Pirko 403d249d4cSJiri Pirkoconfig NET_TEAM_MODE_ACTIVEBACKUP 413d249d4cSJiri Pirko tristate "Active-backup mode support" 423d249d4cSJiri Pirko depends on NET_TEAM 433d249d4cSJiri Pirko ---help--- 443d249d4cSJiri Pirko Only one port is active at a time and the rest of ports are used 453d249d4cSJiri Pirko for backup. 463d249d4cSJiri Pirko 473d249d4cSJiri Pirko Mac addresses of ports are not modified. Userspace is responsible 483d249d4cSJiri Pirko to do so. 493d249d4cSJiri Pirko 503d249d4cSJiri Pirko To compile this team mode as a module, choose M here: the module 513d249d4cSJiri Pirko will be called team_mode_activebackup. 523d249d4cSJiri Pirko 5301d7f30aSJiri Pirkoconfig NET_TEAM_MODE_LOADBALANCE 5401d7f30aSJiri Pirko tristate "Load-balance mode support" 5501d7f30aSJiri Pirko depends on NET_TEAM 5601d7f30aSJiri Pirko ---help--- 5701d7f30aSJiri Pirko This mode provides load balancing functionality. Tx port selection 5801d7f30aSJiri Pirko is done using BPF function set up from userspace (bpf_hash_func 5901d7f30aSJiri Pirko option) 6001d7f30aSJiri Pirko 6101d7f30aSJiri Pirko To compile this team mode as a module, choose M here: the module 6201d7f30aSJiri Pirko will be called team_mode_loadbalance. 6301d7f30aSJiri Pirko 643d249d4cSJiri Pirkoendif # NET_TEAM 65