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

Hefty, Sean
2015-06-18T20:32:21Z

> In an effort to reform the RDMA core and ULPs to minimize use of
> node_type in struct ib_device, an additional bit is added to
> struct ib_device for is_switch (IB switch). This is needed
> to be initialized by any IB switch device driver. This is a
> NEW requirement on such device drivers which are all
> "out of tree".

I agree with Jason, only I would add we need to decide if we want to continue supporting the out of tree devices. We have for so long that it seems reasonable to do so. At the same time, I think we'd reject these changes now without a lower level user of them.