[DPDK/core Bug 1501] rte_cpu_get_flag_enabled() segmentation fault
bugzilla at dpdk.org
bugzilla at dpdk.org
Fri Jul 26 09:24:51 CEST 2024
https://bugs.dpdk.org/show_bug.cgi?id=1501
Bug ID: 1501
Summary: rte_cpu_get_flag_enabled() segmentation fault
Product: DPDK
Version: 21.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: dev at dpdk.org
Reporter: seyhmus.kartal at karel.com.tr
Target Milestone: ---
I create a rte_fib struct for routing purposes and I free it and recreate it
periodically to update the routes. rte_fib_create() uses
rte_cpu_get_flag_enabled() to check if my cpu has AVX512F or not and selects
lookup function according to it. My cpu does not have AVX512F so
rte_cpu_get_flag_enabled() returns 0 as expected and rte_fib_create() selects
scalar lookup function. However, after a point rte_cpu_get_flag_enabled()
causes a segmentation fault with SIGILL although it runs without any problem
until that moment.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240726/9d176246/attachment.htm>
More information about the dev
mailing list