[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1394715743.3915.79.camel@joe-AO722>
Date: Thu, 13 Mar 2014 06:02:23 -0700
From: Joe Perches <joe@...ches.com>
To: Byungho An <bh74.an@...sung.com>
Cc: netdev@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
davem@...emloft.net, ilho215.lee@...sung.com,
siva.kallam@...sung.com, vipul.pandya@...sung.com,
ks.giri@...sung.com
Subject: Re: [PATCH V2 RE-SEND 1/7] net: sxgbe: add basic framework for
Samsung 10Gb ethernet driver
On Thu, 2014-03-13 at 05:53 -0700, Joe Perches wrote:
> Maybe this was supposed to be something like
>
> ns = p->tstamp_lo
> ns |= ((u64)tstamp_hi) << 32;
>
> If not, maybe it warrants a comment around
> here or on the descriptor definition
[]
> > +struct sxgbe_rx_ctxt_desc {
> > + u32 tstamp_lo:32;
> > + u32 tstamp_hi:32;
or maybe these would be better renamed like:
u32 tstamp_nsecs;
u32 tstamp_secs;
btw2: I still think using
u32 foo:32;
is asking for gcc to generate bad code.
--
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