[ofa-general] Re: [PATCH 4/16 v4] IB/ipoib: Add checksum offload support
Roland Dreier
rdreier at cisco.com
Thu Feb 14 14:50:58 PST 2008
> what do you say about this, should we go with the query approach or
> stick to using device flags? I will create the patches as necessary.
The current approach for finding a device's capability flags is to use
ib_query_device(). If you want to use that and cache the result in
IPoIB that's fine. Or if you want to move device_cap_flags into
struct ib_device that's OK too I guess, although I think in that case
you need some justification that there's never a need to query things
at runtime (it seems OK to me but I haven't thought it through in detail)
More information about the general
mailing list