[PATCH] ethdev: fix compilation issue with vtune option

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Thu May 12 10:26:48 CEST 2022


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 at intel.com
> 
> Signed-off-by: Aman Singh <aman.deep.singh at 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 at dpdk.org

Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>

Applied, thanks.


More information about the stable mailing list