Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ adapter/syscall/helloworld_stack_thread_socket
AGENTS.md
CLAUDE.md
plan.md

# Nginx build artifacts (F-Stack app/nginx-1.28.0)
app/nginx-1.28.0/Makefile
app/nginx-1.28.0/dist/
app/nginx-1.28.0/objs/
19 changes: 7 additions & 12 deletions config.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[dpdk]
# Hexadecimal bitmask of cores to run on.
lcore_mask=1
lcore_mask=10

# Number of memory channels.
channel=4
Expand All @@ -27,11 +27,11 @@ vlan_strip=1
# Set [vlanN]'s addrs like [portN] later
# the format is same as port_list
# Set vlan filter id, to enable L3/L4 RSS below vlan hdr is not enable after f-stack-1.22.
vlan_filter=1,2,4-6
#vlan_filter=1,2,4-6

# sleep when no pkts incomming
# unit: microseconds
idle_sleep=0
idle_sleep=20

# sent packet delay time(0-100) while send less than 32 pkts.
# default 100 us.
Expand Down Expand Up @@ -98,24 +98,19 @@ nb_bond=0
# Each core write into own pcap file, which is open one time, close one time if enough.
# Support dump the first snaplen bytes of each packet.
# if pcap file is lager than savelen bytes, it will be closed and next file was dumped into.
# timestamp_precision: 0 = microseconds (default, standard pcap magic 0xA1B2C3D4),
# 1 = nanoseconds (nanosecond pcap magic 0xA1B23C4D).
# Nanosecond mode uses clock_gettime(CLOCK_REALTIME) for ns-level timestamps.
# Wireshark and tcpdump >= 4.0 can parse nanosecond pcap files automatically.
[pcap]
enable=0
snaplen=96
savelen=16777216
savepath=.
timestamp_precision=0

# Port config section
# Correspond to dpdk.port_list's index: port0, port1...
[port0]
addr=192.168.1.2
netmask=255.255.255.0
broadcast=192.168.1.255
gateway=192.168.1.1
addr=9.134.214.176
netmask=255.255.248.0
broadcast=9.134.215.255
gateway=9.134.208.1
# set interface name, Optional parameter.
#if_name=eno7

Expand Down
Loading
Loading