[openib-general] [PATCH]proposal for enabling partial ports on HCA
Sean Hefty
mshefty at ichips.intel.com
Wed Oct 5 12:16:21 PDT 2005
Roland Dreier wrote:
> Yes, I agree we should fix the bugs in error handling during
> registration. However, I don't think that a mask of ports is the
> right answer -- it doesn't seem to address the real issue. We should
> just make sure that if, say, the MAD layer fails to initialize a
> device, then all clients that depend on the MAD layer don't try to use
> that device. I'm not sure what the right way to express these
> dependencies is, however.
One possibility is to have each layer verify the device/port parameters. The
MAD layer can verify that the specified device/port are valid in
ib_register_mad_agent(). Similar for other other modules.
We also have the port capability mask available that could be used.
- Sean
More information about the general
mailing list