From: Felix Fietkau <nbd@openwrt•org>
To: netdev@vger•kernel.org
Cc: zajec5@gmail•com, hauke@hauke-m•de
Subject: Re: [PATCH v5 4/9] bgmac: simplify rx DMA error handling
Date: Mon, 13 Apr 2015 21:47:40 +0200 [thread overview]
Message-ID: <552C1D5C.5090108@openwrt.org> (raw)
In-Reply-To: <1428946067-75650-4-git-send-email-nbd@openwrt.org>
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@openwrt•org>
Sorry, have to send v6. There are some more issues in this patch
regarding the use of kfree().
- Felix
next prev parent reply other threads:[~2015-04-13 19:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-13 17:27 [PATCH v5 1/9] bgmac: simplify tx ring index handling Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 2/9] bgmac: leave interrupts disabled as long as there is work to do Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 3/9] bgmac: set received skb headroom to NET_SKB_PAD Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 4/9] bgmac: simplify rx DMA error handling Felix Fietkau
2015-04-13 19:47 ` Felix Fietkau [this message]
2015-04-13 23:20 ` Francois Romieu
2015-04-14 0:04 ` David Miller
2015-04-14 0:05 ` Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 5/9] bgmac: add check for oversized packets Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 6/9] bgmac: increase rx ring size from 511 to 512 Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 7/9] bgmac: simplify dma init/cleanup Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 8/9] bgmac: fix DMA rx corruption Felix Fietkau
2015-04-13 17:27 ` [PATCH v5 9/9] bgmac: drop ring->num_slots Felix Fietkau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=552C1D5C.5090108@openwrt.org \
--to=nbd@openwrt$(echo .)org \
--cc=hauke@hauke-m$(echo .)de \
--cc=netdev@vger$(echo .)kernel.org \
--cc=zajec5@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox