From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH 1/7] libibverbs: Add link layer field port attribute Date: Tue, 19 Jul 2011 14:31:40 -0600 Message-ID: <20110719203140.GG18090@obsidianresearch.com> References: <20110719170454.GD18090@obsidianresearch.com> <20110719195020.GE18090@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Or Gerlitz Cc: Or Gerlitz , Roland Dreier , linux-rdma List-Id: linux-rdma@vger.kernel.org On Tue, Jul 19, 2011 at 11:22:51PM +0300, Or Gerlitz wrote: > Jason Gunthorpe wrote: > > Or Gerlitz wrote: > > >>> What zeros the field in the current library? > > + port_attr->link_layer = IBV_LINK_LAYER_UNSPECIFIED; > + port_attr->pad = 0; Where are you getting that hunk from? libibverbs $ git grep link_layer libibverbs-1.1.5 -- libibverbs $ More clearly: what initializes the memory you've redefined to be link_layer in libibverbs 1.1.5 ? I see nothing. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html