Re: [PATCH] net: mv643xx_eth: fix packet corruption with TSO and tiny unaligned packets.

2016-01-28 Thread Philipp Kirchhofer
is good. Reviewed-by: Philipp Kirchhofer Best wishes, Philipp

[PATCH net 0/2] net: mv643xx_eth: TSO TX data corruption fixes

2015-10-18 Thread Philipp Kirchhofer
issues with the patch set. [1] http://thread.gmane.org/gmane.linux.network/336530 Best wishes, Philipp Philipp Kirchhofer (2): net: mv643xx_eth: Ensure proper data alignment in TSO TX path net: mv643xx_eth: Defer writing the first TX descriptor when using TSO drivers/net/ethernet/marvell

[PATCH net 2/2] net: mv643xx_eth: Defer writing the first TX descriptor when using TSO

2015-10-18 Thread Philipp Kirchhofer
corruption or an aborted transmit operation. This deferral is already done in the non-TSO TX path, implement it also in the TSO TX path. Signed-off-by: Philipp Kirchhofer --- drivers/net/ethernet/marvell/mv643xx_eth.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions

[PATCH net 1/2] net: mv643xx_eth: Ensure proper data alignment in TSO TX path

2015-10-18 Thread Philipp Kirchhofer
alignment before handing a buffer to the DMA engine. If the data is misaligned realign it by copying it into the TSO header data area. Signed-off-by: Philipp Kirchhofer --- drivers/net/ethernet/marvell/mv643xx_eth.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff