Re: Query regarding MAD_DEMUX and Secure Host

2014-12-16 Thread Jack Morgenstein
On Mon, 15 Dec 2014 15:07:58 +0530
Bob Biloxi iambobbil...@gmail.com wrote:

 am I correct in my understanding
 when i say that MAD_DEMUX feature is not required to be
 supported/implemented in Mellanox RoCE Drivers?
 
 It is required only for Infiniband drivers?

Actually, you will need to support MAD_DEMUX anyway. If not, the
CONF_SPECIAL_QP command will fail if Secure Host mode is operating.

CONF_SPECIAL_QP is required for RoCE as well, since if it is not called
we will not have QP1.  However, since this command maps QP0 as well to
a QP, the MAD_DEMUX command is still required.

-Jack
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Query regarding MAD_DEMUX and Secure Host

2014-12-16 Thread Bob Biloxi
Hi Jack,

Thank you so much for clarifying this. Now I understand. It all ties
down to QP1.
To support QP1, we need to support MAD_DEMUX

This is really helpful.

Best Regards,
Bob


On Tue, Dec 16, 2014 at 9:03 PM, Jack Morgenstein
ja...@dev.mellanox.co.il wrote:
 On Mon, 15 Dec 2014 15:07:58 +0530
 Bob Biloxi iambobbil...@gmail.com wrote:

 am I correct in my understanding
 when i say that MAD_DEMUX feature is not required to be
 supported/implemented in Mellanox RoCE Drivers?

 It is required only for Infiniband drivers?

 Actually, you will need to support MAD_DEMUX anyway. If not, the
 CONF_SPECIAL_QP command will fail if Secure Host mode is operating.

 CONF_SPECIAL_QP is required for RoCE as well, since if it is not called
 we will not have QP1.  However, since this command maps QP0 as well to
 a QP, the MAD_DEMUX command is still required.

 -Jack
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Query regarding MAD_DEMUX and Secure Host

2014-12-15 Thread Bob Biloxi
Hi,

I was going through the mlx4 code for Secure Host and MAD_DEMUX feature.

I had a few queries..hoping that i can get these clarified.


If i understand correctly mlx4 codebase (mlx4_core/mlx4_en/mlx4_ib
drivers) take care of both RoCE and Infiniband adapters ( in both
dedicated and shared/SRIOV mode)


(1) After reading through the RoCE standard, I understood that Subnet
Management features are not supported in RoCE(they are part of
Infiniband)

(2) Also, as i understand MAD_DEMUX mechanism is used to control which
management traffic is passed to the host.

So by correlating these two( 1  2), am I correct in my understanding
when i say that MAD_DEMUX feature is not required to be
supported/implemented in Mellanox RoCE Drivers?

It is required only for Infiniband drivers?


I would be really thankful to get my understanding clarified.


Thanks so much


Best Regards,
Bob
--
To unsubscribe from this list: send the line unsubscribe linux-rdma in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html