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@dpdk.org
          Reporter: seyhmus.kar...@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.

Reply via email to