Re: [PATCH 1/2] 3c59x: Add dma error checking and recovery

2014-09-19 Thread Neil Horman
On Fri, Sep 19, 2014 at 04:29:19PM -0400, David Miller wrote: > From: Neil Horman > Date: Wed, 17 Sep 2014 09:04:44 -0400 > > > Noted that 3c59x has no checks on transmit for failed DMA mappings, and no > > ability to unmap fragments when a single map fails in the middle of a > > transmit. > > T

Re: [PATCH 1/2] 3c59x: Add dma error checking and recovery

2014-09-19 Thread David Miller
From: Neil Horman Date: Wed, 17 Sep 2014 09:04:44 -0400 > Noted that 3c59x has no checks on transmit for failed DMA mappings, and no > ability to unmap fragments when a single map fails in the middle of a > transmit. > This patch provides error checking to ensure that dma mappings work properly,

[PATCH 1/2] 3c59x: Add dma error checking and recovery

2014-09-17 Thread Neil Horman
Noted that 3c59x has no checks on transmit for failed DMA mappings, and no ability to unmap fragments when a single map fails in the middle of a transmit. This patch provides error checking to ensure that dma mappings work properly, and unrolls an skb mapping if a fragmented skb transmission has a