Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_ACTIVEBACKUP
  30. tristate "Active-backup mode support"
  31. depends on NET_TEAM
  32. ---help---
  33. Only one port is active at a time and the rest of ports are used
  34. for backup.
  35. Mac addresses of ports are not modified. Userspace is responsible
  36. to do so.
  37. To compile this team mode as a module, choose M here: the module
  38. will be called team_mode_activebackup.
  39. config NET_TEAM_MODE_LOADBALANCE
  40. tristate "Load-balance mode support"
  41. depends on NET_TEAM
  42. ---help---
  43. This mode provides load balancing functionality. Tx port selection
  44. is done using BPF function set up from userspace (bpf_hash_func
  45. option)
  46. To compile this team mode as a module, choose M here: the module
  47. will be called team_mode_loadbalance.
  48. endif # NET_TEAM