Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf: optimize init attribute #1005

Merged
merged 1 commit into from
Nov 28, 2024
Merged
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
14 changes: 7 additions & 7 deletions conf/dpvs.bond.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
global_defs {
log_level WARNING
! log_file /var/log/dpvs.log
! log_async_mode off
! kni on
! pdump off
! <init> log_async_mode off
! <init> kni on
! <init> pdump off
lldp on
}

Expand Down Expand Up @@ -277,7 +277,7 @@ timer_defs {
! dpvs neighbor config
neigh_defs {
<init> unres_queue_length 128
<init> timeout 60
timeout 60
}

! dpvs ipset config
Expand Down Expand Up @@ -323,7 +323,7 @@ ipvs_defs {
<init> conn_pool_cache 256
conn_init_timeout 3
! expire_quiescent_template
! fast_xmit_close
! <init> fast_xmit_close
! <init> redirect off
}

Expand Down Expand Up @@ -379,6 +379,6 @@ ipvs_defs {

! sa_pool config
sa_pool {
pool_hash_size 16
flow_enable on
<init> pool_hash_size 16
<init> flow_enable on
}
1 change: 0 additions & 1 deletion conf/dpvs.conf.items
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ ipv6_defs {
! control plane config
ctrl_defs {
lcore_msg {
#bucket_number 256
<init> ring_size 4096 <4096, 256-524288>
sync_msg_timeout_us 2000 <2000, 1-∞>
priority_level low <low, low|norm|high|ign>
Expand Down
12 changes: 6 additions & 6 deletions conf/dpvs.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
global_defs {
log_level WARNING
! log_file /var/log/dpvs.log
! log_async_mode on
! kni on
! pdump off
! <init> log_async_mode on
! <init> kni on
! <init> pdump off
lldp on
}

Expand Down Expand Up @@ -287,7 +287,7 @@ ipvs_defs {
<init> conn_pool_cache 256
conn_init_timeout 3
! expire_quiescent_template
! fast_xmit_close
! <init> fast_xmit_close
! <init> redirect off
}

Expand Down Expand Up @@ -344,6 +344,6 @@ ipvs_defs {

! sa_pool config
sa_pool {
pool_hash_size 16
flow_enable on
<init> pool_hash_size 16
<init> flow_enable on
}
10 changes: 5 additions & 5 deletions conf/dpvs.conf.single-bond.sample
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
global_defs {
log_level WARNING
! log_file /var/log/dpvs.log
! log_async_mode on
! kni on
! <init> log_async_mode on
! <init> kni on
lldp on
}

Expand Down Expand Up @@ -228,7 +228,7 @@ ipvs_defs {
<init> conn_pool_cache 256
conn_init_timeout 3
! expire_quiescent_template
! fast_xmit_close
! <init> fast_xmit_close
! <init> redirect off
}

Expand Down Expand Up @@ -285,6 +285,6 @@ ipvs_defs {

! sa_pool config
sa_pool {
pool_hash_size 16
flow_enable on
<init> pool_hash_size 16
<init> flow_enable on
}
10 changes: 5 additions & 5 deletions conf/dpvs.conf.single-nic.sample
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
global_defs {
log_level WARNING
! log_file /var/log/dpvs.log
! log_async_mode on
! kni on
! <init> log_async_mode on
! <init> kni on
lldp on
}

Expand Down Expand Up @@ -202,7 +202,7 @@ ipvs_defs {
<init> conn_pool_cache 256
conn_init_timeout 3
! expire_quiescent_template
! fast_xmit_close
! <init> fast_xmit_close
! <init> redirect off
}

Expand Down Expand Up @@ -259,6 +259,6 @@ ipvs_defs {

! sa_pool config
sa_pool {
pool_hash_size 16
flow_enable on
<init> pool_hash_size 16
<init> flow_enable on
}
Loading