Kconfig 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. config HAVE_NET_DSA
  2. def_bool y
  3. depends on INET && NETDEVICES && !S390
  4. # Drivers must select NET_DSA and the appropriate tagging format
  5. config NET_DSA
  6. tristate "Distributed Switch Architecture"
  7. depends on HAVE_NET_DSA && MAY_USE_DEVLINK
  8. depends on BRIDGE || BRIDGE=n
  9. select GRO_CELLS
  10. select NET_SWITCHDEV
  11. select PHYLINK
  12. ---help---
  13. Say Y if you want to enable support for the hardware switches supported
  14. by the Distributed Switch Architecture.
  15. if NET_DSA
  16. config NET_DSA_LEGACY
  17. bool "Support for older platform device and Device Tree registration"
  18. default y
  19. ---help---
  20. Say Y if you want to enable support for the older platform device and
  21. deprecated Device Tree binding registration.
  22. This feature is scheduled for removal in 4.17.
  23. # tagging formats
  24. config NET_DSA_TAG_BRCM
  25. bool
  26. config NET_DSA_TAG_BRCM_PREPEND
  27. bool
  28. config NET_DSA_TAG_DSA
  29. bool
  30. config NET_DSA_TAG_EDSA
  31. bool
  32. config NET_DSA_TAG_KSZ
  33. bool
  34. config NET_DSA_TAG_LAN9303
  35. bool
  36. config NET_DSA_TAG_MTK
  37. bool
  38. config NET_DSA_TAG_TRAILER
  39. bool
  40. config NET_DSA_TAG_QCA
  41. bool
  42. endif