Re: [dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup

2018-04-25 Thread Thomas Monjalon
25/04/2018 07:33, Zhang, Qi Z: > > 10/04/2018 15:59, Thomas Monjalon: > > > > --- a/lib/librte_ether/rte_ethdev.h > > > > +++ b/lib/librte_ether/rte_ethdev.h > > > > +#define DEV_RUNTIME_RX_QUEUE_SETUP 0x0001 /**< Deferred > > setup > > > > +rx queue */ #define DEV_RUNTIME_TX_QUEUE_SETUP 0x

Re: [dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup

2018-04-24 Thread Zhang, Qi Z
y, Declan > Subject: Re: [dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup > > 10/04/2018 15:59, Thomas Monjalon: > > > --- a/lib/librte_ether/rte_ethdev.h > > > +++ b/lib/librte_ether/rte_ethdev.h > > > +#define DEV_RUNTIME_RX_QUEUE_SETUP

Re: [dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup

2018-04-24 Thread Thomas Monjalon
10/04/2018 15:59, Thomas Monjalon: > > --- a/lib/librte_ether/rte_ethdev.h > > +++ b/lib/librte_ether/rte_ethdev.h > > +#define DEV_RUNTIME_RX_QUEUE_SETUP 0x0001 > > +/**< Deferred setup rx queue */ > > +#define DEV_RUNTIME_TX_QUEUE_SETUP 0x0002 > > +/**< Deferred setup tx queue */ > > Ple

Re: [dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup

2018-04-20 Thread Ferruh Yigit
On 4/8/2018 3:42 AM, Qi Zhang wrote: > The patch let etherdev driver expose the capability flag through > rte_eth_dev_info_get when it support runtime queue configuraiton, > then base on the flag rte_eth_[rx|tx]_queue_setup could decide > continue to setup the queue or just return fail when device

Re: [dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup

2018-04-20 Thread Ferruh Yigit
On 4/10/2018 2:59 PM, Thomas Monjalon wrote: > Hi, > > Please replace ether and etherdev by ethdev (in title and text). > > 08/04/2018 04:42, Qi Zhang: >> The patch let etherdev driver expose the capability flag through >> rte_eth_dev_info_get when it support runtime queue configuraiton, > > typ

Re: [dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup

2018-04-10 Thread Thomas Monjalon
Hi, Please replace ether and etherdev by ethdev (in title and text). 08/04/2018 04:42, Qi Zhang: > The patch let etherdev driver expose the capability flag through > rte_eth_dev_info_get when it support runtime queue configuraiton, typo: configuration > then base on the flag rte_eth_[rx|tx]_que

[dpdk-dev] [PATCH v6 1/3] ether: support runtime queue setup

2018-04-07 Thread Qi Zhang
The patch let etherdev driver expose the capability flag through rte_eth_dev_info_get when it support runtime queue configuraiton, then base on the flag rte_eth_[rx|tx]_queue_setup could decide continue to setup the queue or just return fail when device already started. Signed-off-by: Qi Zhang Ac