Roland Dreier wrote:
Sean> Is it possible to retrieve the pkey using
Sean> net_device->class_dev?
Maybe, but even more direct would be taking it from net_device->broadcast.
Okay - this is starting to make more sense to me now:
priv->dev->broadcast[8] = priv->pkey >> 8;
priv->dev->broadcast[9] = priv->pkey & 0xff;
I assume that the broadcast address is well defined, and there's no issue
reading it from there? If so, then I think it's a simple change to addr.c to
extract it.
- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general