Skip to content

Commit 7210410

Browse files
committed
samples: net: zperf: Enable i226 config with Intel Alderlake
The Zperf sample application was chosen to demonstrate basic network functionality and high-performance use cases. This application serves as a reference for users who wish to enable other network sample applications. In addition to the essential configurations for the Intel i226 Ethernet controller, stack-specific configurations were added to ensure stability under heavy network loads. These configurations include adjustments to buffer sizes, interrupt handling, and DMA descriptor management. Signed-off-by: Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
1 parent bd7083b commit 7210410

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#
2+
# Ethernet Drivers
3+
#
4+
CONFIG_ETH_INTEL_PLAT=y
5+
CONFIG_ETH_INTEL_IGC=y
6+
7+
#
8+
# Link layer options
9+
#
10+
CONFIG_NET_L2_ETHERNET=y
11+
12+
CONFIG_NET_PKT_RX_COUNT=512
13+
CONFIG_NET_PKT_TX_COUNT=512
14+
CONFIG_NET_BUF_RX_COUNT=512
15+
CONFIG_NET_BUF_TX_COUNT=512
16+
CONFIG_NET_BUF_DATA_SIZE=1024
17+
18+
#
19+
# Increase stack usage for stability
20+
#
21+
CONFIG_NET_TX_STACK_SIZE=8192
22+
CONFIG_NET_RX_STACK_SIZE=8192
23+
CONFIG_NET_TCP_WORKQ_STACK_SIZE=8192
24+
CONFIG_NET_MGMT_EVENT_STACK_SIZE=8192
25+
CONFIG_NET_SOCKETS_SERVICE=y
26+
CONFIG_NET_SOCKETS_SERVICE_STACK_SIZE=8192
27+
28+
#
29+
# IP stack
30+
#
31+
CONFIG_NET_IPV4_FRAGMENT=y
32+
CONFIG_NET_STATISTICS_ETHERNET=n
33+
34+
# Disable VTD_ICTL until have IOMMU support.
35+
CONFIG_INTEL_VTD_ICTL=n

0 commit comments

Comments
 (0)