DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Questions about DPDK IOAT driver
@ 2019-08-20 12:35 chanzk
  2019-08-20 16:01 ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: chanzk @ 2019-08-20 12:35 UTC (permalink / raw)
  To: dev

Hello DPDK,
    I am a postgraduate student from South China Normal University, Guangzhou, China. 
    I found that the IOAT driver was released in DPDK 19.08 for the first time. At the same time, I noticed that the code of DPDK IOAT driver was similar to SPDK one. So there are some questions I would like to ask you. The questions are as follows.

    1. What's the difference between SPDK IOAT driver and DPDK IOAT driver ?
    2. I have an idea that apply DPDK lockless ring (struct rte_ring) to DPDK IOAT ring so that multiple threads can enqueue copy request to the same DPDK IOAT ring at the same time, is that work ?

At your convenience, would you please answer my questions?
 
Thank you ! 
Wish you a good day !

Regards,
Zhenke Chan



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Questions about DPDK IOAT driver
  2019-08-20 12:35 [dpdk-dev] Questions about DPDK IOAT driver chanzk
@ 2019-08-20 16:01 ` Wiles, Keith
  2019-08-22 13:57   ` chanzk
  0 siblings, 1 reply; 3+ messages in thread
From: Wiles, Keith @ 2019-08-20 16:01 UTC (permalink / raw)
  To: chanzk; +Cc: dev



> On Aug 20, 2019, at 7:35 AM, chanzk@m.scnu.edu.cn wrote:
> 
> Hello DPDK,
>    I am a postgraduate student from South China Normal University, Guangzhou, China. 
>    I found that the IOAT driver was released in DPDK 19.08 for the first time. At the same time, I noticed that the code of DPDK IOAT driver was similar to SPDK one. So there are some questions I would like to ask you. The questions are as follows.
> 
>    1. What's the difference between SPDK IOAT driver and DPDK IOAT driver ?

The SPDK has it own IOAT driver today, but we are looking to have SPDK use the DPDK IOAT driver in the future, but the SPDK folks can answer that question. The DPDK IOAT driver leveraged some of the code from the SPDK system and this is why they look the same.
>    2. I have an idea that apply DPDK lockless ring (struct rte_ring) to DPDK IOAT ring so that multiple threads can enqueue copy request to the same DPDK IOAT ring at the same time, is that work ?

We have the Ring PMD which I think could be used on top of the IOAT driver, but I would have to think about it more. What would be the design you had in mind here?
> 
> At your convenience, would you please answer my questions?
> 
> Thank you ! 
> Wish you a good day !
> 
> Regards,
> Zhenke Chan
> 
> 

Regards,
Keith


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Questions about DPDK IOAT driver
  2019-08-20 16:01 ` Wiles, Keith
@ 2019-08-22 13:57   ` chanzk
  0 siblings, 0 replies; 3+ messages in thread
From: chanzk @ 2019-08-22 13:57 UTC (permalink / raw)
  To: Wiles, Keith, dev

Dear Wiles,
        Thank you for your reply. I would like to use IOAT for bulk memory copy instead of memcpy function.
        By the way ,would it possible to notify user application by interrupting instead of polling when the IOAT copy operation is done ? 
        
 
Regards,
Zhenke Chan

发件人: Wiles, Keith
发送时间: 2019-08-21 00:01:38
收件人:  chanzk@m.scnu.edu.cn
抄送:  dev
主题: Re: [dpdk-dev] Questions about DPDK IOAT driver


> On Aug 20, 2019, at 7:35 AM, chanzk@m.scnu.edu.cn wrote:
> 
> Hello DPDK,
> I am a postgraduate student from South China Normal University, Guangzhou, China. 
> I found that the IOAT driver was released in DPDK 19.08 for the first time. At the same time, I noticed that the code of DPDK IOAT driver was similar to SPDK one. So there are some questions I would like to ask you. The questions are as follows.
> 
> 1. What's the difference between SPDK IOAT driver and DPDK IOAT driver ?

The SPDK has it own IOAT driver today, but we are looking to have SPDK use the DPDK IOAT driver in the future, but the SPDK folks can answer that question. The DPDK IOAT driver leveraged some of the code from the SPDK system and this is why they look the same.
> 2. I have an idea that apply DPDK lockless ring (struct rte_ring) to DPDK IOAT ring so that multiple threads can enqueue copy request to the same DPDK IOAT ring at the same time, is that work ?

We have the Ring PMD which I think could be used on top of the IOAT driver, but I would have to think about it more. What would be the design you had in mind here?
> 
> At your convenience, would you please answer my questions?
> 
> Thank you ! 
> Wish you a good day !
> 
> Regards,
> Zhenke Chan
> 
> 

Regards,
Keith

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-23  8:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 12:35 [dpdk-dev] Questions about DPDK IOAT driver chanzk
2019-08-20 16:01 ` Wiles, Keith
2019-08-22 13:57   ` chanzk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).