Sebastien Roy wrote:
> I knew that, but I had forgotten that there is a mac_open() for every
> dld_open(). It used to be that dls_vlan_hold() would only call
> mac_open() once. You're right, that this means that mac_open() as-is
> can't be used as the sole differentiator.
>
> As it is, you don't know at mac_open() time if the client is IP or
> something else. That doesn't happen until a DL_BIND_REQ is issued.
>
> Garrett and Erik, do you now understand the design constraint? Do you
> see an alternative? I'm personally satisfied with the architecture
> given Cathy's explanation. Can you confirm either way so that we can
> make forward progress?
Let me see if I understand it correctly:
- the new APIs are project private
- the VNIC code needs to use the project private API (to disable fastpath)
- the softmac driver is the only code which needs to implement
anything under the new APIs
Thus there is no need for any other code to be aware of the fastpath.
If my understanding is correct, then I have no problem what so ever with
the approach.
Erik