Can someone provide a short example of how to use the QUEUENAME macro in the iig file?
For an IOUserNetworkTxSubmissionQueue, it appears to be necessary to do an IODispatchQueue::Create("name", &IODispatchQueue queue) and then do a SetDispatchQueue("queue_name", queue).
The documentation for IOService::SetDispatchQueue() says
For an IOUserNetworkTxSubmissionQueue, it appears to be necessary to do an IODispatchQueue::Create("name", &IODispatchQueue queue) and then do a SetDispatchQueue("queue_name", queue).
The documentation for IOService::SetDispatchQueue() says
The name to assign to the queue. Use this name with the QUEUENAME macro to designate where you want the methods of your class to execute. Include that macro at the end of your method signature methods in the .iig file of your class.