On Tue, Jun 15, 2021 at 3:25 PM Chengwen Feng <fengcheng...@huawei.com> wrote: > + > +#define RTE_DMADEV_NAME_MAX_LEN (64) > +/**< @internal Max length of name of DMA PMD */ > + > +/** @internal > + * The data structure associated with each DMA device. > + */ > +struct rte_dmadev { > + /**< Device ID for this instance */ > + uint16_t dev_id; > + /**< Functions exported by PMD */ > + const struct rte_dmadev_ops *dev_ops; > + /**< Device info. supplied during device initialization */ > + struct rte_device *device; > + /**< Driver info. supplied by probing */ > + const char *driver_name; > + > + /**< Device name */ > + char name[RTE_DMADEV_NAME_MAX_LEN]; > +} __rte_cache_aligned; > +
I see no queue/channel notion. How does a rte_dmadev object relate to a physical hw engine? -- David Marchand