lkml.org 
[lkml]   [2008]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3 2.6.27] cxgb3 - Add page support to jumbo frame Rx queue
Andrew Morton wrote:
> On Tue, 20 May 2008 18:57:37 -0700
> Divy Le Ray <divy@chelsio.com> wrote:
>
>
>> From: Divy Le Ray <divy@chelsio.com>
>>
>> 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



\
 
 \ /
  Last update: 2008-05-22 03:59    [W:0.057 / U:1.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site