K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-16T06:49:05.840949Z K 7 svn:log V 803 Add netisr2_dispatch_if() and netisr2_queue_if(), which accept an explicit ifnet argument. For now we just use it to contribute to an overall flow identifier, but in the future we might want to use it as a source of work placement policy. Implement netisr_dispatch() and netisr_queue() for netisr2, which allows existing netisr dispatch points to be used unchanged. These are simple wrappers around netisr2_*_if(), and pass in the mbuf's receieve interface pointer, which will cause netisr2 to distribute work to threads even without protocol- or driver-generated flow IDs. When there's only one netisr2 worker, don't bother with flow IDs, CPU lookups, etc, just use the one thread, avoiding overhead. Rename netisr2_deregister() to netisr2_unregister() to match existing netisr naming convention. END