From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Cohen Subject: Re: [PATCHv8 09/11] mlx4: Add support for IBoE - address resolution Date: Thu, 13 May 2010 14:53:15 +0300 Message-ID: <20100513115315.GH16073@mtldesk030.lab.mtl.com> References: <20100218172436.GJ12286@mtls03> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ewg-bounces-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org Errors-To: ewg-bounces-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org To: Roland Dreier Cc: Linux RDMA list , Eli Cohen , ewg List-Id: linux-rdma@vger.kernel.org On Wed, May 12, 2010 at 01:32:01PM -0700, Roland Dreier wrote: > > + u8 mac_0_1[2]; > > + u8 mac_2_5[4]; > > This looks a bit odd. Any reason why you don't just have "u8 mac[6];" > in this structure? We can get rid of this crap. I think the origin of this is a limitation of ib_pack() to deal with fields that cross a dword boundary which should not avoid us from using mac[6] here.