[dpdk-dev] [PATCH v8 4/6] examples/ntb: enable an example for ntb

Li, Xiaoyun xiaoyun.li at intel.com
Fri Jun 28 03:36:30 CEST 2019


Hi

> -----Original Message-----
> From: Wu, Jingjing
> Sent: Friday, June 28, 2019 01:30
> To: Li, Xiaoyun <xiaoyun.li at intel.com>; Wiles, Keith <keith.wiles at intel.com>;
> Liang, Cunming <cunming.liang at intel.com>; Maslekar, Omkar
> <omkar.maslekar at intel.com>
> Cc: dev at dpdk.org
> Subject: RE: [PATCH v8 4/6] examples/ntb: enable an example for ntb
> 
> > -----Original Message-----
> > From: Li, Xiaoyun
> > Sent: Wednesday, June 26, 2019 3:12 PM
> > To: Wu, Jingjing <jingjing.wu at intel.com>; Wiles, Keith
> > <keith.wiles at intel.com>; Liang, Cunming <cunming.liang at intel.com>;
> > Maslekar, Omkar <omkar.maslekar at intel.com>
> > Cc: dev at dpdk.org; Li, Xiaoyun <xiaoyun.li at intel.com>
> > Subject: [PATCH v8 4/6] examples/ntb: enable an example for ntb
> >
> > Enable an example for rawdev ntb. Support interactive mode to send
> > file on one host and receive file from another host. The command line
> > would be 'send [filepath]' and 'receive [filepath]'.
> >
> > But since the FIFO is not enabled right now, use rte_memcpy as the
> > enqueue and dequeue functions and only support transmitting file no more
> than 4M.
> >
> > Signed-off-by: Xiaoyun Li <xiaoyun.li at intel.com>
> Reviewed-by: Jingjing Wu <jingjing.wu at intel.com>
> 
> The test app looks fine currently.
> Just one thought, if this example is temporary, can we just move this patch to
> test instead of example. As when the FIFO is done, this one be modified, right?

The file transmission will be reserved in next release, just support any size in next because of the introduce of FIFO.
And will add new cmdline to iofwd ntb device and eth device in next release. So example is a more appropriate choice.

> 
> Thanks
> Jingjing


More information about the dev mailing list