05/03/2019 10:52, Raslan Darawsheh:
> +/*
> + * Allocated in shared memory.
> + */
>  struct sub_device {
>       /* Exhaustive DPDK device description */
>       struct sub_device *next;
>       struct rte_devargs devargs;
> -     struct rte_bus *bus;
> -     struct rte_device *dev;
> -     struct rte_eth_dev *edev;
> +     struct rte_bus *bus; /* per process. */
> +     struct rte_device *dev; /* per process. */

Thinking again about these comments.
Given it is in a shared struct, it would be more precise to say
"only for primary process".

> +     struct rte_eth_dev_data *data; /* shared between processes */



Reply via email to