CONFIG_ZVFS_POLL_MAX is now used to control the maximum number of poll() entires. Thereby, CONFIG_NET_SOCKETS_POLL_MAX is redundant and shall be deprecated. Modify the defaults for NET_SOCKETS_POLL_MAX and ZVS_POLL_MAX so that the deprecation actually makes sense instead of symbol removal. In case the application still sets the old config, it will modify the ZVS_POLL_MAX default. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
32 lines
650 B
Plaintext
32 lines
650 B
Plaintext
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_ZVFS_OPEN_MAX=20
|
|
CONFIG_NET_PKT_TX_COUNT=8
|
|
CONFIG_NET_PKT_RX_COUNT=8
|
|
CONFIG_NET_MAX_CONN=5
|
|
CONFIG_NET_SOCKETS_SERVICE=y
|
|
CONFIG_ZVFS_POLL_MAX=20
|
|
|
|
# We need to set POSIX_API and use picolibc for eventfd to work
|
|
CONFIG_POSIX_API=y
|
|
CONFIG_PICOLIBC=y
|
|
|
|
# Network driver config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_ZTEST_STACK_SIZE=1280
|
|
|
|
CONFIG_ZTEST=y
|
|
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_NET_DRIVERS=y
|
|
CONFIG_NET_LOOPBACK=y
|
|
CONFIG_NET_TCP_MAX_RECV_WINDOW_SIZE=128
|
|
CONFIG_NET_TCP_TIME_WAIT_DELAY=50
|