[dpdk-dev] [PATCH v10 10/27] eal/class: add device iteration

Thomas Monjalon thomas at monjalon.net
Wed Jul 11 11:47:18 CEST 2018


05/07/2018 13:48, Gaetan Rivet:
> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
> ---
>  lib/librte_eal/common/include/rte_class.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/librte_eal/common/include/rte_class.h b/lib/librte_eal/common/include/rte_class.h
> index e8176f5e1..9d5b06807 100644
> --- a/lib/librte_eal/common/include/rte_class.h
> +++ b/lib/librte_eal/common/include/rte_class.h
> @@ -30,6 +30,7 @@ TAILQ_HEAD(rte_class_list, rte_class);
>  struct rte_class {
>  	TAILQ_ENTRY(rte_class) next; /**< Next device class in linked list */
>  	const char *name; /**< Name of the class */
> +	rte_dev_iterate_t dev_iterate; /**< Device iterator. */
>  };

Patches 10 and 11 can be squashed in 9.




More information about the dev mailing list