# Distributed Switch Architecture [DSA] configuration options

# Copyright (c) 2020 DENX Software Engineering GmbH
#               Lukasz Majewski <lukma@denx.de>
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

menuconfig NET_DSA
	bool "Distributed Switch Architecture support"
	help
	  Enable Distributed Switch Architecture support.

if NET_DSA

config DSA_PORT_MAX_COUNT
	int "DSA port max count"
	default 8
	help
	  Set DSA port max count.

config DSA_TAG_SIZE
	int "DSA tag size in bytes"
	default 0
	help
	  Set the DSA tag length in bytes.

module = NET_DSA
module-dep = NET_LOG
module-str = Log level for DSA
module-help = Enables core DSA code to output debug messages.
source "subsys/net/Kconfig.template.log_config.net"

endif # NET_DSA
