2015-07-27 08:31, Iremonger, Bernard: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2015-07-21 16:16, Bernard Iremonger: > > > add function bond_ethdev_free_queues() and call from the > > bond_ethdev_stop() function. > > > > Other drivers free their queues when closing. > > Why is it done in stop() for bonding? > > Hi Thomas, > > The close() function is empty in bonding so I decided to free the queues in > the stop() function which is implemented. > The stop() function is called before the close() function, so the effect is > the same.
No, the effect is not the same. We can call stop() without close() and then re-start the port. > It would be better to free the queues in the close() function, I will move it > there. Yes please.