[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <552C1D5C.5090108@openwrt.org>
Date: Mon, 13 Apr 2015 21:47:40 +0200
From: Felix Fietkau <nbd@...nwrt.org>
To: netdev@...r.kernel.org
CC: zajec5@...il.com, hauke@...ke-m.de
Subject: Re: [PATCH v5 4/9] bgmac: simplify rx DMA error handling
On 2015-04-13 19:27, Felix Fietkau wrote:
> Unmap the DMA buffer before checking it. If an error occurs, free the
> buffer and allocate a new one. If allocation or mapping fails, retry as
> long as there is NAPI poll budget left (count every attempt instead of
> every frame).
>
> Signed-off-by: Felix Fietkau <nbd@...nwrt.org>
Sorry, have to send v6. There are some more issues in this patch
regarding the use of kfree().
- Felix
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists