396138f03f
This adds support for the Trailer switch tagging format. This is another tagging that doesn't explicitly mark tagged packets with a distinct ethertype, so that we need to add a similar hack in the receive path as for the Original DSA tagging format. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Tested-by: Byron Bradley <byron.bbradley@gmail.com> Tested-by: Tim Ellis <tim.ellis@mac.com> Signed-off-by: David S. Miller <davem@davemloft.net>
53 lines
982 B
Plaintext
53 lines
982 B
Plaintext
menuconfig NET_DSA
|
|
bool "Distributed Switch Architecture support"
|
|
default n
|
|
depends on EXPERIMENTAL
|
|
---help---
|
|
This allows you to use hardware switch chips that use
|
|
the Distributed Switch Architecture.
|
|
|
|
|
|
if NET_DSA
|
|
|
|
# tagging formats
|
|
config NET_DSA_TAG_DSA
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_TAG_EDSA
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_TAG_TRAILER
|
|
bool
|
|
default n
|
|
|
|
|
|
# switch drivers
|
|
config NET_DSA_MV88E6XXX
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_MV88E6XXX_NEED_PPU
|
|
bool
|
|
default n
|
|
|
|
config NET_DSA_MV88E6131
|
|
bool "Marvell 88E6131 ethernet switch chip support"
|
|
select NET_DSA_MV88E6XXX
|
|
select NET_DSA_MV88E6XXX_NEED_PPU
|
|
select NET_DSA_TAG_DSA
|
|
---help---
|
|
This enables support for the Marvell 88E6131 ethernet switch
|
|
chip.
|
|
|
|
config NET_DSA_MV88E6123_61_65
|
|
bool "Marvell 88E6123/6161/6165 ethernet switch chip support"
|
|
select NET_DSA_MV88E6XXX
|
|
select NET_DSA_TAG_EDSA
|
|
---help---
|
|
This enables support for the Marvell 88E6123/6161/6165
|
|
ethernet switch chips.
|
|
|
|
endif
|