> > + if (ib_is_opa_gid(&req_msg->primary_local_gid) && > > + rdma_cap_opa_ah(work->port->cm_dev->ib_device, > > + work->port->port_num)) > > Why isn't ib_is_opa_gid enough? It may be in reality, but that implies that IB and OPA are sharing GID space definitions. It looks like rdma_cap_opa_ah() is basically being used as a check to see if the code is handling the OPA CM protocol or IB CM protocol. (Even though the two protocols are nearly identical). -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html