Re: [dpdk-dev] dmadev discussion summary

2021-07-06 Thread fengchengwen
On 2021/7/5 18:28, Morten Brørup wrote: >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob >> Sent: Sunday, 4 July 2021 09.43 >> >> On Sat, Jul 3, 2021 at 5:54 PM Morten Brørup >> wrote: >>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob Sent: Saturd

Re: [dpdk-dev] dmadev discussion summary

2021-07-05 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Sunday, 4 July 2021 09.43 > > On Sat, Jul 3, 2021 at 5:54 PM Morten Brørup > wrote: > > > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > > > Sent: Saturday, 3 July 2021 11.09 > > > > > > On Sat, Jul

Re: [dpdk-dev] dmadev discussion summary

2021-07-04 Thread Jerin Jacob
On Sat, Jul 3, 2021 at 5:54 PM Morten Brørup wrote: > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > > Sent: Saturday, 3 July 2021 11.09 > > > > On Sat, Jul 3, 2021 at 2:23 PM Morten Brørup > > wrote: > > > > > > > From: fengchengwen [mailto:fengcheng...@huawei.com] > > >

Re: [dpdk-dev] dmadev discussion summary

2021-07-04 Thread Jerin Jacob
On Sat, Jul 3, 2021 at 5:30 PM Morten Brørup wrote: > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of fengchengwen > > Sent: Saturday, 3 July 2021 11.45 > > > > On 2021/7/3 16:53, Morten Brørup wrote: > > >> From: fengchengwen [mailto:fengcheng...@huawei.com] > > >> Sent: Saturday, 3 July

Re: [dpdk-dev] dmadev discussion summary

2021-07-03 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Saturday, 3 July 2021 11.09 > > On Sat, Jul 3, 2021 at 2:23 PM Morten Brørup > wrote: > > > > > From: fengchengwen [mailto:fengcheng...@huawei.com] > > > Sent: Saturday, 3 July 2021 02.32 > > > > > > On 2021/7/2 22:57, Mor

Re: [dpdk-dev] dmadev discussion summary

2021-07-03 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of fengchengwen > Sent: Saturday, 3 July 2021 11.45 > > On 2021/7/3 16:53, Morten Brørup wrote: > >> From: fengchengwen [mailto:fengcheng...@huawei.com] > >> Sent: Saturday, 3 July 2021 02.32 > >> > >> On 2021/7/2 22:57, Morten Brørup wrote: > >>

Re: [dpdk-dev] dmadev discussion summary

2021-07-03 Thread fengchengwen
On 2021/7/3 16:53, Morten Brørup wrote: >> From: fengchengwen [mailto:fengcheng...@huawei.com] >> Sent: Saturday, 3 July 2021 02.32 >> >> On 2021/7/2 22:57, Morten Brørup wrote: In the DPDK framework, many data-plane API names contain queues. >> e.g. eventdev/crypto.. The concept of

Re: [dpdk-dev] dmadev discussion summary

2021-07-03 Thread Jerin Jacob
On Sat, Jul 3, 2021 at 2:23 PM Morten Brørup wrote: > > > From: fengchengwen [mailto:fengcheng...@huawei.com] > > Sent: Saturday, 3 July 2021 02.32 > > > > On 2021/7/2 22:57, Morten Brørup wrote: > > >> In the DPDK framework, many data-plane API names contain queues. > > e.g. > > >> eventdev/crypt

Re: [dpdk-dev] dmadev discussion summary

2021-07-03 Thread Morten Brørup
> From: fengchengwen [mailto:fengcheng...@huawei.com] > Sent: Saturday, 3 July 2021 02.32 > > On 2021/7/2 22:57, Morten Brørup wrote: > >> In the DPDK framework, many data-plane API names contain queues. > e.g. > >> eventdev/crypto.. > >> The concept of virt queues has continuity. > > > > I was al

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread fengchengwen
On 2021/7/2 22:57, Morten Brørup wrote: >> In the DPDK framework, many data-plane API names contain queues. e.g. >> eventdev/crypto.. >> The concept of virt queues has continuity. > > I was also wondering about the name "virtual queue". > > Usually, something "virtual" would be an abstraction of

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of fengchengwen > Sent: Friday, 2 July 2021 15.45 > > On 2021/7/1 23:01, Jerin Jacob wrote: > >> [key point]: > >> ------ > >> | channel || channel | > >> ------ > >> \

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread fengchengwen
On 2021/7/2 15:07, Liang Ma wrote: >> 8) One example: >> vq_id = rte_dmadev_queue_setup(dev, config.{HW-queue-index=x, opaque}); >> if (vq_id < 0) { >> // create virt-queue failed >> return; >> } >> // submit memcpy task >> cookit = rte_dmadev_memcpy(dev,

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread fengchengwen
On 2021/7/1 23:01, Jerin Jacob wrote: >> [key point]: >> ------ >> | channel || channel | >> ------ >> \ / >> \ / >>\ / >> >> | H

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread fengchengwen
On 2021/6/28 18:00, Bruce Richardson wrote: >> 4) The driver's ops design (here we only list key points): >> [dev_info_get]: mainly return the number of HW-queues >> [dev_configure]: nothing important >> [queue_setup]: create one virt-queue, has following main parameters: >>

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread Bruce Richardson
On Fri, Jul 02, 2021 at 09:39:10AM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: > > Thursday, 1 July 2021 18.34 > > > > On Thu, Jul 01, 2021 at 08:31:00PM +0530, Jerin Jacob wrote: > > > On Sat, Jun 26, 2021 at 9:29 AM fengchengwen > > wrote: >

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, 1 July 2021 18.34 > > On Thu, Jul 01, 2021 at 08:31:00PM +0530, Jerin Jacob wrote: > > On Sat, Jun 26, 2021 at 9:29 AM fengchengwen > wrote: > > > > > > Hi, all > > > I analyzed the current DPAM DMA driver and drew t

Re: [dpdk-dev] dmadev discussion summary

2021-07-02 Thread Liang Ma
On Sat, Jun 26, 2021 at 11:59:49AM +0800, fengchengwen wrote: > Hi, all > I analyzed the current DPAM DMA driver and drew this summary in conjunction > with the previous discussion, and this will as a basis for the V2 > implementation. > Feedback is welcome, thanks > > > dpaa2_qdma: > [pro

Re: [dpdk-dev] dmadev discussion summary

2021-07-01 Thread Bruce Richardson
On Thu, Jul 01, 2021 at 08:31:00PM +0530, Jerin Jacob wrote: > On Sat, Jun 26, 2021 at 9:29 AM fengchengwen wrote: > > > > Hi, all > > I analyzed the current DPAM DMA driver and drew this summary in > > conjunction > > with the previous discussion, and this will as a basis for the V2 > > imple

Re: [dpdk-dev] dmadev discussion summary

2021-07-01 Thread Jerin Jacob
On Sat, Jun 26, 2021 at 9:29 AM fengchengwen wrote: > > Hi, all > I analyzed the current DPAM DMA driver and drew this summary in conjunction > with the previous discussion, and this will as a basis for the V2 > implementation. > Feedback is welcome, thanks Thanks for the write-up. > > dpaa

Re: [dpdk-dev] dmadev discussion summary

2021-06-28 Thread Bruce Richardson
On Mon, Jun 28, 2021 at 12:14:31PM +0100, Ananyev, Konstantin wrote: > > Hi everyone, > > > On Sat, Jun 26, 2021 at 11:59:49AM +0800, fengchengwen wrote: > > > Hi, all > > > I analyzed the current DPAM DMA driver and drew this summary in > > > conjunction > > > with the previous discussion, an

Re: [dpdk-dev] dmadev discussion summary

2021-06-28 Thread Ananyev, Konstantin
Hi everyone, > On Sat, Jun 26, 2021 at 11:59:49AM +0800, fengchengwen wrote: > > Hi, all > > I analyzed the current DPAM DMA driver and drew this summary in > > conjunction > > with the previous discussion, and this will as a basis for the V2 > > implementation. > > Feedback is welcome, th

Re: [dpdk-dev] dmadev discussion summary

2021-06-28 Thread Bruce Richardson
On Sat, Jun 26, 2021 at 11:59:49AM +0800, fengchengwen wrote: > Hi, all > I analyzed the current DPAM DMA driver and drew this summary in conjunction > with the previous discussion, and this will as a basis for the V2 > implementation. > Feedback is welcome, thanks > Fantastic review and summa

[dpdk-dev] dmadev discussion summary

2021-06-25 Thread fengchengwen
Hi, all I analyzed the current DPAM DMA driver and drew this summary in conjunction with the previous discussion, and this will as a basis for the V2 implementation. Feedback is welcome, thanks dpaa2_qdma: [probe]: mainly obtains the number of hardware queues. [dev_configure]: has follow