Debian Codegraph @

drivers/net/ethernet/airoha/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2 config 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
8 if NET_VENDOR_AIROHA
9
10 config 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
18 config 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
27 config 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
34 endif #NET_VENDOR_AIROHA