61 lines
1.6 KiB
Plaintext
Executable File
61 lines
1.6 KiB
Plaintext
Executable File
CONFIG_REQUIRES_FULL_LIBC=y
|
|
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=65536
|
|
|
|
# CONFIG_THRIFT Dependencies
|
|
CONFIG_CPP=y
|
|
CONFIG_STD_CPP17=y
|
|
CONFIG_CPP_EXCEPTIONS=y
|
|
CONFIG_GLIBCXX_LIBCPP=y
|
|
CONFIG_POSIX_API=y
|
|
CONFIG_XOPEN_STREAMS=y
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETPAIR=y
|
|
CONFIG_HEAP_MEM_POOL_SIZE=16384
|
|
CONFIG_EVENTFD=y
|
|
|
|
CONFIG_THRIFT=y
|
|
|
|
# Test dependencies
|
|
CONFIG_ZTEST=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_NET_DRIVERS=y
|
|
CONFIG_NET_LOOPBACK=y
|
|
CONFIG_NET_TCP_TIME_WAIT_DELAY=100
|
|
|
|
# Some platforms require relatively large stack sizes.
|
|
# This can be tuned per-board.
|
|
CONFIG_ZTEST_STACK_SIZE=8192
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8192
|
|
CONFIG_THRIFTTEST_SERVER_STACK_SIZE=8192
|
|
CONFIG_NET_TCP_WORKQ_STACK_SIZE=4096
|
|
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096
|
|
CONFIG_IDLE_STACK_SIZE=4096
|
|
CONFIG_NET_RX_STACK_SIZE=8192
|
|
|
|
CONFIG_NET_BUF_TX_COUNT=20
|
|
CONFIG_NET_PKT_TX_COUNT=20
|
|
CONFIG_NET_BUF_RX_COUNT=20
|
|
CONFIG_NET_PKT_RX_COUNT=20
|
|
|
|
# We can get away with using fewer sockets in the non-TLS tests because we use
|
|
# TFDServer.cpp for our server and socketpair() for our channel. We do not
|
|
# need an accept socket for the server (in contrast to TCP), it only needs 1
|
|
# eventfd for server cancellation, and there are no cancellation sockets
|
|
# required because we close them in the testsuite.
|
|
#
|
|
# File Descriptor Usage
|
|
# ---------------------
|
|
# stdin, stdout, stderr: 3
|
|
# socketpair for channel: 2
|
|
# eventfd for cancellation: 1
|
|
CONFIG_ZVFS_OPEN_MAX=6
|
|
|
|
# Network address config
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|