Re: [PATCH 1/7] cxgb3 - Fix SGE page management

Divy Le Ray
2007-05-31T04:10:35Z

Jeff Garzik wrote:
> divy@chelsio.com wrote:
>> From: Divy Le Ray <divy@chelsio.com>
>>
>> Streamline page management on RX.
>> Fix dma mappings.
>>
>
> NAK #2: You should use the page_address(page) accessor rather than
> creating a struct member in the same struct as your page, solely to
> contain the virtual address.
Jeff,

The struct member caches the value of page_address(page) + current
offset for optimization purposes.

Divy