-
Notifications
You must be signed in to change notification settings - Fork 734
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
Intel(R) 82599 problems keepalive&dpvs DPDK NETIF: Ethdev port_id=0 invalid rss_hf: 0x3afbc, valid value: 0x38d34 NETIF: Ethdev port_id=0 invalid tx_offload: 0x1000e, valid value: 0x2a03f #929
Comments
Looks like its not related to ethernet brand, I tried with another device with different hardware configuration, when dpdk enabled, keepalive enabled, while binding IP to kni interfaces dpdk closing itself |
It doesn't matter of the |
Ok seems rss_hf and tx_offload non related to my case. Currently dpdk running without problem, when keepalived starting whenever we bind IP address to dpdk.kni:1001 for exaple keepalive somehow crashing the dpdk, is anyone faced with this problem ? 11 [Wed Dec 13 11:09:21 2023] traps: lcore-worker-3[29557] general protection fault ip:94e52a sp:7f56756b7ef0 error:0 [Wed Dec 13 11:09:24 2023] rte_kni: kni_net_process_request: wait_event_interruptible timeout |
You may get a coredump a coredump stack to find out the exact location where dpvs crashed. Before doing it, please enable debug config and build dpvs with debug infomation. sed -i 's/CONFIG_DEBUG=n/CONFIG_DEBUG=y/' config.mk |
Thank you so much, after many test I can say that there is two different hardware. I will try coredump and update here Also i followed this steps for installing DVPS kernel-4.18.0-513.9.1.el8_9.x86_64Red Hat Enterprise Linux release 8.7 (Ootpa)NIC TESTED81:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)CPU TESTEDIntel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz ## NUMA2BIOS NUMA ENABLED / HYPER THREAD OFFyum -y install kernel-4.18.0-513.9.1.el8_9.x86_64 systemctl stop NetworkManager |
According to the messages from wechat, your problem is similar to #896. Remove the
Besides, DPVS is build with 2 numa nodes by default. If you want to run DPVS on a single numa hardware, set
in |
Hello, first of all while i am building DPVS I have warning related VRRP , can it may cause problem ? Also i started dpvs with gdb, and getting following error; Kni: dev dpdk0 link mcast: Thread 8 "lcore-worker-5" received signal SIGSEGV, Segmentation fault. Than I removed __rte_cache_aligned and rebuild, currently with gdb i am not seeing any errors. Looks like resolved. I figured out that with 1.4.2 pkg-config, properly worked without problem. __rte_cache_aligned and pkg-config is the key while building, thank you, solved. |
Dpvs version : v1.9.4
Dpdk version : 20.11.1
Os version : oracle8
Kernel : 4.18.0-513.9.1.el8_9.x86_64
Keepalived (builded with dpdk&dpvs) : Keepalived v2.0.19 (unknown)
I have odd problem with following ethernet ;
41:00.0 Ethernet controller: Intel(R) 82599 10 Gigabit Dual Port Network Connection (rev 01)
When I start DPDK its giving me warning ;
DPDK NETIF: Ethdev port_id=0 invalid rss_hf: 0x3afbc, valid value: 0x38d34
NETIF: Ethdev port_id=0 invalid tx_offload: 0x1000e, valid value: 0x2a03f
And still seems working properly and I can able to see kni interface up with configuration shared.
Problem is, when I start keepalived and when I run
dpip addr add 192.168.4.2/16 dev dpdk0
ifconfig dpdk0.kni:1000 192.168.4.2 netmask 255.255.0.0
dpdk0 interface killing itself by keepalive. What can be problem and any suggestion ?
I tried same scenerio with 82599ES brand without problem, but with 82599 i faced with this problems, any suggestions ?
`!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! This is dpvs default configuration file.
!
! The attribute "" denotes the configuration item at initialization stage. Item of
! this type is configured oneshoot and not reloadable. If invalid value configured in the
! file, dpvs would use its default value.
!
! Note that dpvs configuration file supports the following comment type:
! * line comment: using '#" or '!'
! * inline range comment: using '<' and '>', put comment in between
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! global config
global_defs {
log_level WARNING
log_file /var/log/dpvs.log
! log_async_mode on
! kni on
}
! netif config
netif_defs {
pktpool_size 524287
pktpool_cache 256
}
! worker config (lcores)
worker_defs {
worker cpu0 {
type master
cpu_id 0
}
}
! timer config
timer_defs {
# cpu job loops to schedule dpdk timer management
schedule_interval 500
}
! dpvs neighbor config
neigh_defs {
unres_queue_length 128
timeout 60
}
! dpvs ipset config
ipset_defs {
ipset_hash_pool_size 131072
}
! dpvs ipv4 config
ipv4_defs {
forwarding off
default_ttl 64
fragment {
bucket_number 4096
bucket_entries 16
max_entries 4096
ttl 1
}
}
! dpvs ipv6 config
ipv6_defs {
disable off
forwarding off
route6 {
method hlist
recycle_time 10
}
}
! control plane config
ctrl_defs {
lcore_msg {
ring_size 4096
sync_msg_timeout_us 20000
priority_level low
}
ipc_msg {
unix_domain /var/run/dpvs_ctrl
}
}
! ipvs config
ipvs_defs {
conn {
conn_pool_size 2097152
conn_pool_cache 256
conn_init_timeout 3
! expire_quiescent_template
! fast_xmit_close
! redirect off
}
}
! sa_pool config
sa_pool {
pool_hash_size 16
flow_enable off
}`
The text was updated successfully, but these errors were encountered: