I have a driver for a device that potentially exports multiple ethernet
ports for a given single dev_info_t.
I had thought that the way to do this was to set the mregp->m_instance
to my desired PPA.
mac_register() seems happy with this, and indeed, looking at mac handles
with mdb ($<mac_impl), I can see that at least the names were
constructed properly.
However, neither dladm nor ifconfig seems able to see the 2nd port.
Before I go off traipsing into the Nemo code, I thought I'd ask around.
Is there any other driver that uses multiple PPAs for a single
dev_info_t? Is this a known bug?
I can try to look at fixing Nemo, if that's where the problem lies.
Alternatively, I can use a nexus interface approach, but for reasons I
don't want to get into, this would be *extremely* painful for this
device. (Essentially, its *already* a nexus driver for Infiniband.
Sorting out IB framework nexus stuff from a device specific set of nexus
bits would be ... um... non-trivial.)
- Garrett
_______________________________________________
networking-discuss mailing list
[email protected]