Re: [PATCH 2/3 2.6.27] cxgb3 - Add page support to jumbo frame Rxqueue
From: Divy Le Ray
Date: Wed May 21 2008 - 21:56:29 EST
Andrew Morton wrote:
On Tue, 20 May 2008 18:57:37 -0700
Divy Le Ray <divy@xxxxxxxxxxx> wrote:
From: Divy Le Ray <divy@xxxxxxxxxxx>
Add page support to Jumbo frame Rx queues.
...
@@ -460,7 +464,8 @@ nomem: q->alloc_failed++;
if (q->use_pages) {
if (q->pg_chunk.page) {
put_page(q->pg_chunk.page);
- __free_page(q->pg_chunk.page);
+ __free_pages(q->pg_chunk.page,
+ q->order);
q->pg_chunk.page =
sd->pg_chunk.page = NULL;
}
This hunk doesn't apply to 2.6.26-rc3, afacit. The code it's patching
just isn't there. But I think I fixed it up OK.
My bad.
I modified the first patch just before submission - namely to avoid
freeing the Rx page if the DMA mapping failed.
I managed to submit without locally pushing the follwing patches first.
Sorry about that.
I'm resubmitting the series.
Cheers,
Divy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/