> > I'm a bit confused by these flags.  As far as I can tell, the SRIOV flag 
 > > will be set if and > only if MASTER is set too... so in other words we 
 > > might as well just have the MASTER and > > SLAVE flags and not have the 
 > > SRIOV flag at all.

 > We could have a situation where we have multiple physical functions, without 
 > SRIOV.
 > In this case one of the functions would be MASTER, but not SRIOV

Where in the code could that happen?  The only place I see the SRIOV or
MASTER flag get set is a line like:

        dev->flags |= MLX4_FLAG_SRIOV | MLX4_FLAG_MASTER;

so they are never used separately.

 - R.
--
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