Re: [dpdk-dev] [PATCH v4 4/4] examples/ntb: support more functions for NTB

2019-09-24 Thread Li, Xiaoyun
Hi > -Original Message- > From: Wu, Jingjing > Sent: Monday, September 23, 2019 15:19 > To: Li, Xiaoyun ; Wiles, Keith ; > Maslekar, Omkar ; Liang, Cunming > > Cc: dev@dpdk.org > Subject: RE: [PATCH v4 4/4] examples/ntb: support more functions for NTB > > <...> > > > +* ``--qp=N`` > > +

Re: [dpdk-dev] [PATCH v4 4/4] examples/ntb: support more functions for NTB

2019-09-23 Thread Li, Xiaoyun
Hi > -Original Message- > From: Wu, Jingjing > Sent: Monday, September 23, 2019 15:19 > To: Li, Xiaoyun ; Wiles, Keith ; > Maslekar, Omkar ; Liang, Cunming > > Cc: dev@dpdk.org > Subject: RE: [PATCH v4 4/4] examples/ntb: support more functions for NTB > > <...> > > > +* ``--qp=N`` > > +

Re: [dpdk-dev] [PATCH v4 4/4] examples/ntb: support more functions for NTB

2019-09-23 Thread Wu, Jingjing
<...> > +* ``--qp=N`` > + > + Set the number of queues as N, where qp > 0. The default value is 1? <...> > + > + /* Set default fwd mode if user doesn't set it. */ > + if (fwd_mode == MAX_FWD_MODE && eth_port_id < RTE_MAX_ETHPORTS) { > + printf("Set default fwd mode as iofwd

[dpdk-dev] [PATCH v4 4/4] examples/ntb: support more functions for NTB

2019-09-08 Thread Xiaoyun Li
Support to transmit files between two systems. Support iofwd between one ethdev and NTB device. Support rxonly and txonly for NTB device. Support to set forwarding mode as file-trans, txonly, rxonly or iofwd. Support to show/clear port stats and throughput. Signed-off-by: Xiaoyun Li --- doc/guid