Kconfig 2.2 KB

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