ethdev: fix compilation issue with vtune option
Checks
Commit Message
When VTune profile option is enabled, compilation
error is seen.
Bugzilla ID: 1004
Fixes: 2c1bbab7f09d ("ethdev: change vtune profiling approach")
Cc: ilia.kurakin@intel.com
Signed-off-by: Aman Singh <aman.deep.singh@intel.com>
---
lib/ethdev/ethdev_profile.h | 1 +
1 file changed, 1 insertion(+)
Comments
On 5/5/22 16:01, Aman Singh wrote:
> When VTune profile option is enabled, compilation
> error is seen.
>
> Bugzilla ID: 1004
> Fixes: 2c1bbab7f09d ("ethdev: change vtune profiling approach")
> Cc: ilia.kurakin@intel.com
>
> Signed-off-by: Aman Singh <aman.deep.singh@intel.com>
> ---
> lib/ethdev/ethdev_profile.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/ethdev/ethdev_profile.h b/lib/ethdev/ethdev_profile.h
> index e5ee4df824..881aec1273 100644
> --- a/lib/ethdev/ethdev_profile.h
> +++ b/lib/ethdev/ethdev_profile.h
> @@ -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")
Cc: stable@dpdk.org
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Applied, thanks.
@@ -6,6 +6,7 @@
#define _RTE_ETHDEV_PROFILE_H_
#include "rte_ethdev.h"
+#include "ethdev_driver.h"
/**
* Initialization of the Ethernet device profiling.