[dpdk-dev] [PATCH v10 03/16] dma/idxd: add bus device probing
fengchengwen
fengchengwen at huawei.com
Wed Oct 20 08:54:49 CEST 2021
On 2021/10/19 22:10, Kevin Laatz wrote:
> Add the basic device probing for DSA devices bound to the IDXD kernel
> driver. These devices can be configured via sysfs and made available to
> DPDK if they are found during bus scan. Relevant documentation is included.
>
[snip]
> diff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h
> index f5d23017b1..7394f0932b 100644
> --- a/lib/dmadev/rte_dmadev.h
> +++ b/lib/dmadev/rte_dmadev.h
> @@ -149,6 +149,7 @@
> #include <rte_bitops.h>
> #include <rte_common.h>
> #include <rte_compat.h>
> +#include <rte_eal.h>
Why add rte_eal.h to rte_dmadev.h, just use rte_eal_get_runtime_dir() ?
Suggest add rte_eal.h in the PMD's C files.
> #include <rte_dev.h>
>
> #ifdef __cplusplus
>
More information about the dev
mailing list