From: Michael Wang Subject: Re: [PATCH v2 10/17] IB/Verbs: Adopt management helpers for IB helpers Date: Wed, 08 Apr 2015 10:28:10 +0200 Message-ID: <5524E69A.6050400@profitbricks.com> References: <5523CCD5.6030401@profitbricks.com> <5523CF0A.5090206@profitbricks.com> <20150407201259.GA17147@obsidianresearch.com> <008401d0716f$bc41c5c0$34c55140$@opengridcomputing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <008401d0716f$bc41c5c0$34c55140$@opengridcomputing.com> Sender: netdev-owner@vger.kernel.org To: Steve Wise , 'Jason Gunthorpe' Cc: 'Roland Dreier' , 'Sean Hefty' , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, 'Hal Rosenstock' , 'Tom Tucker' , 'Hoang-Nam Nguyen' , 'Christoph Raisch' , 'Mike Marciniszyn' , 'Eli Cohen' , 'Faisal Latif' , 'Upinder Malhi' , 'Trond Myklebust' , "'J. Bruce Fields'" , "'David S. Miller'" , 'Ira Weiny' , 'PJ Waskiewicz' , 'Tatyana Nikolova' , 'Or Gerlitz' , 'Jack Morgenstein' List-Id: linux-rdma@vger.kernel.org Hi, Steve Thanks for the comment :-) On 04/07/2015 10:16 PM, Steve Wise wrote: [snip] >>> >>> - force_grh = rdma_port_get_link_layer(device, port_num) == IB_LINK_LAYER_ETHERNET; >>> + force_grh = !rdma_transport_ib(device, port_num); >> >> Maybe these tests should be called cap_mandatory_grh - but I'm not >> really sure how iWarp uses the GRH fields in the AH... >> > > iWARP runs on top of TCP...this SA code is all IB-specific. The reason it was checking for ETHERNET, I think, is for RoCE. So > this change is totally incorrect, I think, because RoCE is an IB transport, but it runs on ETHERNET. I guess it's the name 'transport' which confusing folks... actually (!rdma_transport_ib) including RoCE/IBoE, but yes, here it's for IBoE only, so let's change it to rdma_transport_iboe ;-) Regards, Michael Wang > > Steve. > > >