[PATCH] ethdev: add include for vtune

Ferruh Yigit ferruh.yigit at amd.com
Wed Oct 12 14:26:02 CEST 2022


On 10/12/2022 1:02 PM, Markus Theil wrote:
> From: Michael Pfeiffer <michael.pfeiffer at tu-ilmenau.de>
> 
> Adding this include allowed us to use vtune
> with DPDK.
> 
> Signed-off-by: Michael Pfeiffer <michael.pfeiffer at tu-ilmenau.de>
> ---
>   lib/ethdev/ethdev_profile.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/lib/ethdev/ethdev_profile.c b/lib/ethdev/ethdev_profile.c
> index 7978f351ac..90339cb2ee 100644
> --- a/lib/ethdev/ethdev_profile.c
> +++ b/lib/ethdev/ethdev_profile.c
> @@ -3,6 +3,7 @@
>    */
>   
>   #include "ethdev_profile.h"
> +#include "ethdev_driver.h"
>   

"ethdev_profile.h" already includes "ethdev_driver.h". What was the 
problem without above change?

>   /**
>    * This conditional block enables Ethernet device profiling with



More information about the dev mailing list