[PATCH v8 1/3] net/macb: add new poll mode driver

Stephen Hemminger stephen at networkplumber.org
Wed Jun 4 22:52:39 CEST 2025


On Wed,  4 Jun 2025 06:59:55 +0000
Wencheng Li <liwencheng at phytium.com.cn> wrote:

> diff --git a/drivers/net/macb/base/macb_uio.c b/drivers/net/macb/base/macb_uio.c
> new file mode 100644
> index 0000000..19b757d
> --- /dev/null
> +++ b/drivers/net/macb/base/macb_uio.c
> @@ -0,0 +1,351 @@
> +/* SPDX-License-Identifier: BSD-3-Clause
> + * Copyright(c) 2022 Phytium Technology Co., Ltd.
> + */
> +#include <dirent.h>
> +
> +#include "macb_uio.h"
> +
> +#define MACB_UIO_DRV_DIR "/sys/bus/platform/drivers/macb_uio"
> +#define UIO_DEV_DIR "/sys/class/uio"
> +

If this driver requires a kernel module, it should use
RTE_PMD_REGISTER_KMOD_DEP like other drivers.

Where is the source for this kernel module? What is its license?


More information about the dev mailing list