Tom> Here's a patch that puts a node_type in the ibv_context. Two problems: - It breaks the ABI (which is frozen for the libibverbs 1.0 series) - Even when we're ready to break ABI, I think node_type should be in struct ibv_device since it's not per-context at all. - R.