RE: [RFC PATCH 1/5] IB/core: Add Core Capability flags to ib_device

Weiny, Ira
2015-05-04T17:31:47Z

>
> > Because ib_query_port returns a struct, so this must be an element of
> > that struct or it can't be returned (without adding a new, single use
> > driver upcall).
>
> Nm - This could be clearer if the functionality were folded into the
> 'read_port_table_lengths' function.

I thought of doing that but then the function name no longer matches the functionality.

I could change it to:

read_per_port_info(...)

And add the bits there.

Ira