Kconfig 2.2 KB

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