1CONFIG_NETWORKING=y
2CONFIG_NET_LOG=y
3CONFIG_NET_IPV6=y
4CONFIG_NET_IPV4=y
5CONFIG_NET_DHCPV4=n
6CONFIG_NET_UDP=y
7CONFIG_NET_TCP=y
8CONFIG_NET_STATISTICS=y
9CONFIG_NET_STATISTICS_USER_API=y
10
11CONFIG_TEST_RANDOM_GENERATOR=y
12
13CONFIG_NET_PKT_RX_COUNT=64
14CONFIG_NET_PKT_TX_COUNT=64
15CONFIG_NET_BUF_RX_COUNT=64
16CONFIG_NET_BUF_TX_COUNT=64
17CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=5
18CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=5
19CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=1
20CONFIG_NET_MAX_CONTEXTS=4
21
22CONFIG_INIT_STACKS=y
23CONFIG_PRINTK=y
24CONFIG_NET_SHELL=y
25
26# DSA support
27CONFIG_NET_DSA=y
28CONFIG_DSA_SPI=y
29CONFIG_DSA_KSZ_TAIL_TAGGING=y
30
31# Ethernet is needed for LLDP
32CONFIG_NET_L2_ETHERNET=y
33
34CONFIG_NET_CONFIG_NEED_IPV6=y
35CONFIG_NET_CONFIG_NEED_IPV4=y
36CONFIG_NET_CONFIG_SETTINGS=y
37
38# Logging
39CONFIG_LOG=y
40CONFIG_NET_DSA_LOG_LEVEL_INF=y
41
42# Support for lan1..3 as RAW_SOCKETS
43CONFIG_NET_SOCKETS=y
44CONFIG_NET_SOCKETS_PACKET=y
45CONFIG_POSIX_API=y
46
47# How many traffic classes to enable
48CONFIG_NET_TC_TX_COUNT=6
49CONFIG_NET_TC_RX_COUNT=4
50CONFIG_NET_CONFIG_INIT_TIMEOUT=10
51
52CONFIG_REQUIRES_FULL_LIBC=y
53
54CONFIG_NET_IF_MAX_IPV4_COUNT=4
55CONFIG_NET_IF_MAX_IPV6_COUNT=4
56CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.0.2"
57CONFIG_NET_CONFIG_MY_IPV4_GW="192.168.0.1"
58CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
59
60# Add RTT SHELL support -> Instead of LOG_BACKEND_RTT
61# Shell can be used to test the DSA operation with e.g.
62# 'net ping -I3 192.168.0.1'
63CONFIG_SHELL=y
64CONFIG_SHELL_BACKEND_RTT=y
65CONFIG_SHELL_BACKEND_SERIAL=n
66CONFIG_LOG_BACKEND_RTT=n
67