Re: [dpdk-dev] [PATCH v23 2/6] dmadev: add control plane function support

2021-10-08 Thread Thomas Monjalon
08/10/2021 09:55, fengchengwen: > On 2021/10/6 18:46, Thomas Monjalon wrote: > > 24/09/2021 12:53, Chengwen Feng: > >> --- a/lib/dmadev/rte_dmadev.c > >> +++ b/lib/dmadev/rte_dmadev.c > >> @@ -218,6 +218,9 @@ rte_dma_pmd_release(const char *name) > >>if (dev == NULL) > >>return -EIN

Re: [dpdk-dev] [PATCH v23 2/6] dmadev: add control plane function support

2021-10-08 Thread fengchengwen
On 2021/10/6 18:46, Thomas Monjalon wrote: > 24/09/2021 12:53, Chengwen Feng: >> --- a/doc/guides/prog_guide/dmadev.rst >> +++ b/doc/guides/prog_guide/dmadev.rst >> @@ -62,3 +62,44 @@ identifiers: >> >> - A device name used to designate the DMA device in console messages, for >>administratio

Re: [dpdk-dev] [PATCH v23 2/6] dmadev: add control plane function support

2021-10-07 Thread fengchengwen
On 2021/10/5 18:16, Matan Azrad wrote: > Hi Chengwen > > API looks good to me, thanks! > > I have some questions below. > >> This patch add control plane functions for dmadev. >> > >> +/** >> + * DMA transfer direction defines. >> + * >> + * @see struct rte_dma_vchan_conf::direction */ enum rt

Re: [dpdk-dev] [PATCH v23 2/6] dmadev: add control plane function support

2021-10-06 Thread Thomas Monjalon
24/09/2021 12:53, Chengwen Feng: > --- a/doc/guides/prog_guide/dmadev.rst > +++ b/doc/guides/prog_guide/dmadev.rst > @@ -62,3 +62,44 @@ identifiers: > > - A device name used to designate the DMA device in console messages, for >administration or debugging purposes. > + > + > +Device Configur

Re: [dpdk-dev] [PATCH v23 2/6] dmadev: add control plane function support

2021-10-05 Thread Matan Azrad
Hi Chengwen API looks good to me, thanks! I have some questions below. > This patch add control plane functions for dmadev. > > +/** > + * DMA transfer direction defines. > + * > + * @see struct rte_dma_vchan_conf::direction */ enum rte_dma_direction > +{ > + /** DMA transfer direction

[dpdk-dev] [PATCH v23 2/6] dmadev: add control plane function support

2021-09-24 Thread Chengwen Feng
This patch add control plane functions for dmadev. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup Reviewed-by: Kevin Laatz Reviewed-by: Conor Walsh --- doc/guides/prog_guide/dmadev.rst | 41 +++ doc/guides/rel_notes/release_21_11.rst | 1 + lib/dmade