2010-04-13 21:41:08

by Karen Xie

[permalink] [raw]
Subject: RE: [PATCH 2/3] cxgb4i: main driver files

Hi, Mike,

Yes, will do that for the next submission.

Thanks,
Karen

-----Original Message-----
From: Mike Christie [mailto:[email protected]]
Sent: Tuesday, April 13, 2010 1:42 PM
To: [email protected]
Cc: Rakesh Ranjan; [email protected]; [email protected];
[email protected]; Karen Xie; [email protected];
[email protected]
Subject: Re: [PATCH 2/3] cxgb4i: main driver files

On 04/08/2010 07:14 AM, Rakesh Ranjan wrote:
> +static inline int cxgb4i_ddp_gl_map(struct pci_dev *pdev,
> + struct cxgb4i_gather_list *gl)
> +{
> + int i;
> +
> + for (i = 0; i< gl->nelem; i++) {
> + gl->phys_addr[i] = pci_map_page(pdev, gl->pages[i], 0,
> + PAGE_SIZE,

Hey Rakesh,

I guess we are trying to move away from the pci mapping functions move
to the dma ones. On your next submission, could you fix those up too?