[PATCH v1 19/20] drivers: add testpmd commands for private features

Stephen Hemminger stephen at networkplumber.org
Mon Jun 1 00:32:57 CEST 2026


On Sun, 31 May 2026 02:46:24 +0800
liujie5 at linkdatatechnology.com wrote:

> diff --git a/drivers/net/sxe2/sxe2_cmd_chnl.c b/drivers/net/sxe2/sxe2_cmd_chnl.c
> index 43e8c59487..ed74c84ccf 100644
> --- a/drivers/net/sxe2/sxe2_cmd_chnl.c
> +++ b/drivers/net/sxe2/sxe2_cmd_chnl.c
> @@ -7,6 +7,7 @@
>  #include "sxe2_cmd_chnl.h"
>  #include "sxe2_ethdev.h"
>  #include "sxe2_common_log.h"
> +#include <asm-generic/errno-base.h>
>  

If you need errno's then use 
#include <errno.h>

Ignore any advice you get from include-what-you-use (iwyu) tools.
More portable and better to just use errno.h


More information about the dev mailing list