Re: [PATCH v2 10/13] ftgmac100: Add a reset task and use it for link changes

2017-04-05 Thread Andrew Lunn
On Wed, Apr 05, 2017 at 12:28:50PM +1000, Benjamin Herrenschmidt wrote: > Link speed changes require a full HW reset. This isn't done > properly at the moment. It will involve delays and thus isn't > suitable to do from the link poll callback. > > So let's create a reset_task that we can queue up

[PATCH v2 10/13] ftgmac100: Add a reset task and use it for link changes

2017-04-04 Thread Benjamin Herrenschmidt
Link speed changes require a full HW reset. This isn't done properly at the moment. It will involve delays and thus isn't suitable to do from the link poll callback. So let's create a reset_task that we can queue up when the link changes. It will be useful for various cases of error handling as we