Skip to contentSkip to conversation

Compilation error with Vtune profile option enabled

Bug 1004 [email protected] 1 participant 1 message May 5, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1004

            Bug ID: 1004
           Summary: Compilation error with Vtune profile option enabled
           Product: DPDK
           Version: 22.03
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Compilation steps-
meson build
meson configure build -Dc_args=-DRTE_ETHDEV_PROFILE_WITH_VTUNE ninja -C build

Build error seen-
../lib/ethdev/ethdev_profile.c: In function ‘__rte_eth_dev_profile_init’:
../lib/ethdev/ethdev_profile.c:58:43: error: dereferencing pointer to incomplete type ‘struct rte_eth_dev’
58 | return vtune_profile_rx_init(port_id, dev->data->nb_rx_queues);

Optional- fix for issue
Need to include "ethdev_driver.h" for ‘struct rte_eth_dev’ definition to be available.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.