Re: [PATCH] fs_enet: Adjust BDs after tx error

2015-11-24 Thread Martin Roth
Hi, I have reviewed the code and in my opinion the line last_tx_bd = fep->tx_bd_base + (fpi->tx_ring * sizeof(cbd_t)); should be replaced with last_tx_bd = fep->tx_bd_base + ((fpi->tx_ring-1) * sizeof(cbd_t)); In the original code

Re: [PATCH] fs_enet: Adjust BDs after tx error

2010-05-29 Thread David Miller
From: Mark Ware Date: Thu, 27 May 2010 11:12:12 +1000 > This patch fixes an occasional transmit lockup in the mac-fcc which > occurs after a tx error. The test scenario had the local port set > to autoneg and the other end fixed at 100FD, resulting in a large > number of late collisions. > > Ac

[PATCH] fs_enet: Adjust BDs after tx error

2010-05-26 Thread Mark Ware
This patch fixes an occasional transmit lockup in the mac-fcc which occurs after a tx error. The test scenario had the local port set to autoneg and the other end fixed at 100FD, resulting in a large number of late collisions. According to the MPC8280RM 30.10.1.3 (also 8272RM 29.10.1.3), after a