xref: /linux/drivers/net/ethernet/airoha/Kconfig (revision b81e0f2b58be37628b2e12f8dffdd63c84573e75)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_VENDOR_AIROHA
3	bool "Airoha devices"
4	depends on ARCH_AIROHA || COMPILE_TEST
5	help
6	  If you have a Airoha SoC with ethernet, say Y.
7
8if NET_VENDOR_AIROHA
9
10config NET_AIROHA_NPU
11	tristate "Airoha NPU support"
12	select WANT_DEV_COREDUMP
13	select REGMAP_MMIO
14	help
15	  This driver supports Airoha Network Processor (NPU) available
16	  on the Airoha Soc family.
17
18config NET_AIROHA
19	tristate "Airoha SoC Gigabit Ethernet support"
20	depends on NET_DSA || !NET_DSA
21	select NET_AIROHA_NPU
22	select PAGE_POOL
23	help
24	  This driver supports the gigabit ethernet MACs in the
25	  Airoha SoC family.
26
27config NET_AIROHA_FLOW_STATS
28	default y
29	bool "Airoha flow stats"
30	depends on NET_AIROHA && NET_AIROHA_NPU
31	help
32	  Enable Aiorha flowtable statistic counters.
33
34endif #NET_VENDOR_AIROHA
35