[PATCH v5 01/15] net/xsc: add xsc PMD framework

Stephen Hemminger stephen at networkplumber.org
Thu Jan 16 19:18:12 CET 2025


On Tue, 07 Jan 2025 10:49:40 +0800
"WanRenyong" <wanry at yunsilicon.com> wrote:

> diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
> new file mode 100644
> index 0000000000..a7dca46127
> --- /dev/null
> +++ b/drivers/net/xsc/xsc_ethdev.c
> @@ -0,0 +1,89 @@
> +/* SPDX-License-Identifier: BSD-3-Clause
> + * Copyright 2025 Yunsilicon Technology Co., Ltd.
> + */
> +
> +#include <net/if.h>

Why are you including this file (it relates to Linux networking not DPDK)?
If I remove it build works fine.



More information about the dev mailing list