Re: [PATCH 2/2] ucc_geth: Rework the TX logic.

2009-03-27 Thread Joakim Tjernlund
David Miller wrote on 27/03/2009 08:42:37: > > > These patches don't apply to the current tree, could you please > respin your final version against at the very least Linus's tree? That is strange, had a look at linus tree and I don't see any changes in his tree that touches the same area/funct

Re: [PATCH 2/2] ucc_geth: Rework the TX logic.

2009-03-27 Thread David Miller
These patches don't apply to the current tree, could you please respin your final version against at the very least Linus's tree? Thanks. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/2] ucc_geth: Rework the TX logic.

2009-03-26 Thread Joakim Tjernlund
Anton Vorontsov wrote on 26/03/2009 19:05:43: > On Thu, Mar 26, 2009 at 05:43:25PM +0100, Joakim Tjernlund wrote: > [...] > > > bd == ugeth->confBd[txQ] > > > and > > > !in_be32((u32 __iomem *)(bd+4)) > > > > > > Are not equivalent wrt. speed. MMIO accessors should be rather > > > slow comparing

Re: [PATCH 2/2] ucc_geth: Rework the TX logic.

2009-03-26 Thread Anton Vorontsov
On Thu, Mar 26, 2009 at 05:43:25PM +0100, Joakim Tjernlund wrote: [...] > > bd == ugeth->confBd[txQ] > > and > > !in_be32((u32 __iomem *)(bd+4)) > > > > Are not equivalent wrt. speed. MMIO accessors should be rather > > slow comparing to normal memory. > > Yes, I know. I did it this way because I

Re: [PATCH 2/2] ucc_geth: Rework the TX logic.

2009-03-26 Thread Joakim Tjernlund
Anton Vorontsov wrote on 26/03/2009 14:39:18: > > Hi Joakim, Hi Anton > > On Thu, Mar 26, 2009 at 01:54:37PM +0100, Joakim Tjernlund wrote: > > The line: > > if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0)) > >break; > > in ucc_geth_tx() didn not make sense to me. Rewo

Re: [PATCH 2/2] ucc_geth: Rework the TX logic.

2009-03-26 Thread Anton Vorontsov
Hi Joakim, On Thu, Mar 26, 2009 at 01:54:37PM +0100, Joakim Tjernlund wrote: > The line: > if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0)) >break; > in ucc_geth_tx() didn not make sense to me. Rework & cleanup > this logic to something understandable. > > Signed-off-by:

[PATCH 2/2] ucc_geth: Rework the TX logic.

2009-03-26 Thread Joakim Tjernlund
The line: if ((bd == ugeth->txBd[txQ]) && (netif_queue_stopped(dev) == 0)) break; in ucc_geth_tx() didn not make sense to me. Rework & cleanup this logic to something understandable. Signed-off-by: Joakim Tjernlund --- drivers/net/ucc_geth.c | 40 ---