[PATCH v2 2/3] net/iavf: do not include private headers in testpmd

Bruce Richardson bruce.richardson at intel.com
Thu Oct 15 16:33:33 CEST 2026


On Thu, Oct 15, 2026 at 03:21:03PM +0100, Anatoly Burakov wrote:
> Currently, the `iavf_testpmd.c` file includes headers that are only
> available to driver itself, but should not be available to applications,
> including testpmd.
> 
> Fix the testpmd file to not include private headers (they are unused).
> 
> Fixes: c702044ed909 ("net/iavf: remove Tx LLDP dynfield method")
> Cc: ciara.loftus at intel.com
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
>  drivers/net/intel/iavf/iavf_testpmd.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/net/intel/iavf/iavf_testpmd.c b/drivers/net/intel/iavf/iavf_testpmd.c
> index f3b932da04..1146f534e3 100644
> --- a/drivers/net/intel/iavf/iavf_testpmd.c
> +++ b/drivers/net/intel/iavf/iavf_testpmd.c
> @@ -9,9 +9,7 @@
>  #include <cmdline_parse_num.h>
>  #include <cmdline_parse_string.h>
>  
> -#include "iavf.h"
>  #include "testpmd.h"
> -#include "iavf_rxtx.h"
>  
>  struct cmd_reinit_result {
>  	cmdline_fixed_string_t port;
> -- 
> 2.52.0
> 


More information about the dev mailing list