Skip to content

Commit 8fb11cc

Browse files
committed
Modify VERSION from 1.26 to 2.0.
1 parent 6cabce1 commit 8fb11cc

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.26
1+
2.0

config.ini

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[dpdk]
22
# Hexadecimal bitmask of cores to run on.
3-
lcore_mask=1
3+
lcore_mask=3
44

55
# Thread mode: 0=multi-process (default), 1=single-process multi-thread.
66
# In thread_mode=1, all lcores in lcore_mask run as threads in one process,
@@ -62,7 +62,7 @@ idle_sleep=0
6262
# if set 0, means send pkts immediately.
6363
# if set >100, will dealy 100 us.
6464
# unit: microseconds
65-
pkt_tx_delay=100
65+
pkt_tx_delay=30
6666

6767
# use symmetric Receive-side Scaling(RSS) key, default: disabled.
6868
symmetric_rss=0
@@ -85,7 +85,7 @@ symmetric_rss=0
8585
# Extra DPDK EAL args, space-separated, appended to rte_eal_init() argv.
8686
# e.g. extra_eal_args=--allow=02:00.0,scalar_enable=1
8787
# e.g. extra_eal_args=--log-level=pmd:8 --iova-mode=pa
88-
#extra_eal_args=
88+
extra_eal_args=--log-level=bus.vdev:8
8989

9090
# enabled port list
9191
#
@@ -129,8 +129,8 @@ nb_bond=0
129129
# 7 = INFO
130130
# 8 = DEBUG
131131
# fstack_log_file_prefix : log file prefix, and <proc_id> will splice with prefix, such as "./f-stack-0".
132-
#fstack_log_level=0
133-
#fstack_log_file_prefix=./f-stack-
132+
fstack_log_level=7
133+
fstack_log_file_prefix=./f-stack-
134134

135135

136136
# Each core write into own pcap file, which is open one time, close one time if enough.
@@ -163,17 +163,18 @@ kernel_coexist=0
163163
# Port config section
164164
# Correspond to dpdk.port_list's index: port0, port1...
165165
[port0]
166-
addr=192.168.1.2
167-
netmask=255.255.255.0
168-
broadcast=192.168.1.255
169-
gateway=192.168.1.1
166+
addr=9.134.214.176
167+
netmask=255.255.248.0
168+
broadcast=9.134.215.255
169+
gateway=9.134.208.1
170170
# set interface name, Optional parameter.
171171
#if_name=eno7
172172

173173
# IPv6 net addr, Optional parameters.
174-
#addr6=ff::02
175-
#prefix_len=64
176-
#gateway6=ff::01
174+
addr6=2402:4e00:1900:1:6:5522:de6a:7d84
175+
prefix_len=128
176+
gateway6=fe80::feee:ffff:feff:ffff
177+
#gateway6=::1
177178

178179
# Multi virtual IPv4/IPv6 net addr, Optional parameters.
179180
# `vip_ifname`: default `f-stack-x`
@@ -312,10 +313,10 @@ rss_tbl=0 192.168.1.1 192.168.2.1 80;0 192.168.1.1 192.168.2.1 443
312313
# all packets that do not belong to the following tcp_port and udp_port
313314
# will transmit to kernel; if method=accept, all packets that belong to
314315
# the following tcp_port and udp_port will transmit to kernel.
315-
#[kni]
316-
#enable=1
317-
#method=reject
318-
#owner_proc_id=1
316+
[kni]
317+
enable=1
318+
method=reject
319+
owner_proc_id=1
319320
# The format is same as port_list
320321
#tcp_port=80,443
321322
#udp_port=53

lib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PREFIX_LIB=${PREFIX}/lib
2020
PREFIX_INCLUDE=${PREFIX}/include
2121
PREFIX_BIN=${PREFIX}/bin
2222
F-STACK_CONF=/etc/f-stack.conf
23-
F-STACK_VERSION=1.26
23+
F-STACK_VERSION=2.0
2424
TGT_OS=$(shell uname)
2525
ifeq ($(TGT_OS),FreeBSD)
2626
CC=gcc

0 commit comments

Comments
 (0)