Re: [dpdk-dev] [PATCH] ethdev: claim device reset as async

2019-04-05 Thread Andrew Rybchenko
On 4/5/19 1:01 AM, Thomas Monjalon wrote: Hi, You forgot to Cc Andrew, co-maintainer of ethdev. 20/03/2019 05:54, Qi Zhang: Device reset should be implemented in an async way since it is possible to be invoked in interrupt thread and sometimes to reset a device need to wait for some dependency

Re: [dpdk-dev] [PATCH] ethdev: claim device reset as async

2019-04-04 Thread Thomas Monjalon
Hi, You forgot to Cc Andrew, co-maintainer of ethdev. 20/03/2019 05:54, Qi Zhang: > Device reset should be implemented in an async way since it is > possible to be invoked in interrupt thread and sometimes to reset a > device need to wait for some dependency, for example, a VF expects for > PF re

Re: [dpdk-dev] [PATCH] ethdev: claim device reset as async

2019-03-20 Thread Stephen Hemminger
On Wed, 20 Mar 2019 12:54:03 +0800 Qi Zhang wrote: > + ret = rte_ctrl_thread_create(&tid, pthread_name, NULL, > + do_dev_reset, args); > + > + return ret; combine the ret = and return (ie make it a tail call)

[dpdk-dev] [PATCH] ethdev: claim device reset as async

2019-03-19 Thread Qi Zhang
Device reset should be implemented in an async way since it is possible to be invoked in interrupt thread and sometimes to reset a device need to wait for some dependency, for example, a VF expects for PF ready or a NIC function as part of a SOC wait for the whole system reset complete, and all the