> From: Ira Weiny <[email protected]>

Hi Ira,

OPA cannot impersonate IB; OPA node and link types have to be designated as 
such.
In terms of MAD processing flows, both explicit (as in the handle_opa_smi() 
call below) and implicit code paths (which share IB flows - there are several 
cases) must make this distinction.

> +static enum smi_action
> +handle_opa_smi(struct ib_mad_port_private *port_priv,
> +            struct ib_mad_qp_info *qp_info,
> +            struct ib_wc *wc,
> +            int port_num,
> +            struct ib_mad_private *recv,
> +            struct ib_mad_private *response)
> +{
...
> +     } else if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH)  <----

--Liran
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to