Peter Memishian writes: > > To me, the test is whether the DL_NOTE is truly asynchronous or in > > response to some IP request. If it is the former then it is a > > NEW_OP. Otherwise it is CUR_OP. I guess the difficulty is that we > > don't really know. The DL_NOTE may be sent truly asynchronously when a > > link goes down as pulling a cable, or in response to IP asking the > > driver to turn the link on or off. > > My view is that DL_NOTIFY_IND's are inherently asynchronous and cannot be > correlated with any specific previous request.
I agree. I think the best practice for the DLPI driver side is to send one or more DL_NOTIFY_INDs right after DL_NOTIFY_ACK in order to give the current state, but otherwise DL_NOTIFY_IND must be considered by the consumer to be async. -- James Carlson, KISS Network <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
