Re: [PATCHv10 03/12] ib_core: IBoE UD packet packing support

2010-10-14 Thread Eli Cohen
On Thu, Oct 14, 2010 at 01:12:52PM -0700, Roland Dreier wrote: + if (lrh_present) { + header-lrh.link_version = 0; + header-lrh.link_next_header = + grh_present ? IB_LNH_IBA_GLOBAL : IB_LNH_IBA_LOCAL; + packet_length = IB_LRH_BYTES;

Re: [PATCHv10 03/12] ib_core: IBoE UD packet packing support

2010-10-14 Thread Eli Cohen
On Thu, Oct 14, 2010 at 02:43:30PM -0700, Roland Dreier wrote: void ib_ud_header_init(intpayload_bytes, int lrh_present, int eth_present, int grh_present,

RE: [PATCHv10 03/12] ib_core: IBoE UD packet packing support

2010-10-14 Thread Ralph Campbell
From: linux-rdma-ow...@vger.kernel.org [linux-rdma-ow...@vger.kernel.org] On Behalf Of Eli Cohen [...@dev.mellanox.co.il] Sent: Thursday, October 14, 2010 2:57 PM To: Roland Dreier Cc: RDMA list Subject: Re: [PATCHv10 03/12] ib_core: IBoE UD packet

Re: [PATCHv10 03/12] ib_core: IBoE UD packet packing support

2010-10-14 Thread Roland Dreier
if (header-immediate_present) This should be if (immediate_present). header-immediate_present is zero due to the memset() above. Thanks, fixed that up. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More