Thread (36 messages) flat view 36 messages, 4 authors, 2016-12-20

Re: [PATCH 1/2] net: ethernet: sxgbe: remove private tx queue lock

From: Pavel Machek <hidden>
Date: 2016-12-09 11:21:48
Also in: lkml

On Fri 2016-12-09 00:19:43, Francois Romieu wrote:
Lino Sanfilippo [off-list ref] :
[...]
quoted
OTOH Pavel said that he actually could produce a deadlock. Now I wonder if
this is caused by that locking scheme (in a way I have not figured out yet)
or if it is a different issue.
stmmac_tx_err races with stmmac_xmit.
Umm, yes, that looks real.

And that means that removing tx_lock will not be completely trivial
:-(. Lino, any ideas there?

netif_tx_lock_irqsave() would help, but afaict that one does not
exist.

Plus, does someone know how to trigger the status == tx_hard_error? I
tried powering down the switch, but that did not do it.

Thanks,								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help