Lines Matching defs:gid
26 * ib_is_opa_gid: Returns true if the top 24 bits of the gid
28 * the provided gid is a special purpose GID meant to carry
31 * @gid: The Global identifier
33 static inline bool ib_is_opa_gid(const union ib_gid *gid)
35 return ((be64_to_cpu(gid->global.interface_id) >> 40) ==
40 * opa_get_lid_from_gid: Returns the last 32 bits of the gid.
41 * OPA devices use one of the gids in the gid table to also
44 * @gid: The Global identifier
46 static inline u32 opa_get_lid_from_gid(const union ib_gid *gid)
48 return be64_to_cpu(gid->global.interface_id) & 0xFFFFFFFF;