]> git.droids-corp.org - dpdk.git/commitdiff
ethdev: fix build with vtune option
authorAman Singh <aman.deep.singh@intel.com>
Thu, 5 May 2022 13:01:38 +0000 (18:31 +0530)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Thu, 12 May 2022 08:23:52 +0000 (10:23 +0200)
When VTune profile option is enabled, compilation error is seen.

Bugzilla ID: 1004
Fixes: f9bdee267ab8 ("ethdev: hide internal structures")
Cc: stable@dpdk.org
Signed-off-by: Aman Singh <aman.deep.singh@intel.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
lib/ethdev/ethdev_profile.h

index e5ee4df824e903ed3cf8ded5c82f23bc036f34a5..881aec1273f669f722a43d5a133fc36f987deabc 100644 (file)
@@ -6,6 +6,7 @@
 #define _RTE_ETHDEV_PROFILE_H_
 
 #include "rte_ethdev.h"
+#include "ethdev_driver.h"
 
 /**
  * Initialization of the Ethernet device profiling.