[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <262CB373A6D1F14F9B81E82F74F77D5A4DB24F@avmb2.qlogic.org>
Date: Thu, 27 Jun 2013 14:29:14 +0000
From: Shahed Shaikh <shahed.shaikh@...gic.com>
To: David Laight <David.Laight@...LAB.COM>,
Jitendra Kalsaria <jitendra.kalsaria@...gic.com>,
David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>,
Sony Chacko <sony.chacko@...gic.com>,
Dept-NX Linux NIC Driver
<Dept_NX_Linux_NIC_Driver@...gic.com>
Subject: RE: [PATCH net-next 4/8] qlcnic: Add support for PEX DMA method to
read memory section of adapter dump
> -----Original Message-----
> From: David Laight [mailto:David.Laight@...LAB.COM]
> Sent: Thursday, June 27, 2013 1:56 AM
> To: Shahed Shaikh; Jitendra Kalsaria; David Miller
> Cc: netdev; Sony Chacko; Dept-NX Linux NIC Driver
> Subject: RE: [PATCH net-next 4/8] qlcnic: Add support for PEX DMA method
> to read memory section of adapter dump
>
> > > > + if ((tmpl_hdr->version & 0xffffff) >= 0x20001)
> > > > + ahw->fw_dump.use_pex_dma = true;
> > > > + else
> > > > + ahw->fw_dump.use_pex_dma = false;
> > >
> > > You know what's wrong with the above....
> >
> > Yes. Got it. Masking is not done properly. It should be if
> > ((tmpl_hdr->version & 0xfffff) >= 0x20001)
>
> Try:
> ahw->fw_dump.use_pex_dma = (tmpl_hdr->version & 0xfffff) >=
> 0x20001;
>
Ok. Thanks David.
-Shahed
> David
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists