Skip to contentSkip to conversation

ethdev: fix compilation issue with vtune option

PATCH Applied Aman Singh 2 participants 2 messages May 5, 2022 – May 12, 2022

lore
Share & tools
lore

Aman Singh

author
#0 lore raw

PATCH 1/1 ethdev: fix compilation issue with vtune option

When VTune profile option is enabled, compilation
error is seen.

Bugzilla ID: 1004

Fixes 2c1bbab7f09d ("ethdev: change vtune profiling approach")
---
 lib/ethdev/ethdev_profile.h | 1 +
 1 file changed, 1 insertion(+)
lib/ethdev/ethdev_profile.h +1 -0
index e5ee4df824..881aec1273 100644
@@ -6,6 +6,7 @@
 #define _RTE_ETHDEV_PROFILE_H_
 
 #include "rte_ethdev.h"
+#include "ethdev_driver.h"
 
 /**
  * Initialization of the Ethernet device profiling.
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1 Applied
#1 lore raw
Quoted 17 lines · Aman Singh

When VTune profile option is enabled, compilation
error is seen.

Bugzilla ID: 1004

Fixes 2c1bbab7f09d ("ethdev: change vtune profiling approach")
---
  lib/ethdev/ethdev_profile.h | 1 +
  1 file changed, 1 insertion(+)
lib/ethdev/ethdev_profile.h +0 -0
index e5ee4df824..881aec1273 100644

lib/ethdev/ethdev_profile.h line 12

Quoted 7 lines
lib/ethdev/ethdev_profile.h +1 -0
@@ -6,6 +6,7 @@
  #define _RTE_ETHDEV_PROFILE_H_
 
  #include "rte_ethdev.h"
+#include "ethdev_driver.h"
 
  /**
   * Initialization of the Ethernet device profiling.
Fixes f9bdee267ab8 ("ethdev: hide internal structures")

Applied, thanks.