Bjarke Istrup Pedersen<gurligebis@xxxxxxxxxx> :
[...]Great, I'll try a 3.4-rc2 kernel, and see how it runs.(I did not write a new driver)
The thread I was talking about earlier is here:
http://lists.soekris.com/pipermail/soekris-tech/2012-April/018318.html
Is there any of the changes he has there, that makes sense in the new
driver you wrote ?
Regarding Svenning's patch:
- the wmb in alloc_rbufs may help rhine_reset_task().
- one should probably add one in rhine_rx() as well.
- rhine_start_tx() is supposed to stop queueing when there is no room left.
I'm curious to know if the "Tx descriptor busy" test triggered.
- the rmb() in rhine_tx() will not make a difference for a single core but
it's a good reminder that I should not have forgotten to propagate the
xmit / Tx completion fix back from the r8169 driver to the via-rhine one
(sigh)
mmiowb is probably missing. I doubt it hits hard right now.
I have not checked if MMIO flushes are missing. Actually I need some sleep.