RE: [PATCH RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

Weiny, Ira
2015-06-18T21:36:45Z

>
> On 6/18/2015 4:25 PM, Jason Gunthorpe wrote:
> > Ira had patch that made some functions related to this public, not
> > sure if it is applied yet..
>
> Which patch from Ira are you referring to ?

This patch which is in Dougs for 4.2 tree:

commit ca0369e31d1794a4f4e39c52fe39b0406617e2b4
Author: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Date: Wed May 13 20:02:55 2015 -0400

IB/core: Create common start/end port functions

Previously start_port and end_port were defined in 2 places, cache.c and
device.c and this prevented their use in other modules.

Make these common functions, change the name to reflect the rdma
name space, and update existing users.

Signed-off-by: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Signed-off-by: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>