83928aaab7
Add an IVSHMEM Ethernet sample to communicate between Zephyr and Linux root cell within the Jailhouse hypervisor. The supported configuration runs the Jailhouse hypervisor within QEMU Cortex-A53. Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
38 lines
832 B
Plaintext
38 lines
832 B
Plaintext
CONFIG_HEAP_MEM_POOL_SIZE=16777216
|
|
|
|
CONFIG_LOG=y
|
|
CONFIG_LOG_MODE_IMMEDIATE=y
|
|
CONFIG_LOG_BACKEND_UART=y
|
|
CONFIG_ETHERNET_LOG_LEVEL_INF=y
|
|
CONFIG_IVSHMEM_LOG_LEVEL_INF=y
|
|
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_L2_ETHERNET=y
|
|
CONFIG_ETH_IVSHMEM=y
|
|
CONFIG_NET_STATISTICS=y
|
|
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_TCP_ISN_RFC6528=n
|
|
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.19.2"
|
|
CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.255.0"
|
|
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
CONFIG_SHELL=y
|
|
CONFIG_NET_SHELL=y
|
|
CONFIG_NET_ZPERF=y
|
|
|
|
CONFIG_NET_TCP_WORKQ_STACK_SIZE=4096
|
|
CONFIG_NET_RX_STACK_SIZE=4096
|
|
CONFIG_SHELL_STACK_SIZE=4096
|
|
|
|
# Increase net buffer size/count for increased performace
|
|
CONFIG_NET_TCP_MAX_RECV_WINDOW_SIZE=5120
|
|
CONFIG_NET_PKT_TX_COUNT=6
|
|
CONFIG_NET_BUF_RX_COUNT=64
|