Abhay Ravi Chandran
|
two nw_pthreads for the same driver
|
Abhay Ravi Chandran
06/05/2013 12:30 PM
post102031
|
two nw_pthreads for the same driver
Hi,
I currently have two threads handling network context data and processing mbufs in my WIFI driver. However I have
initialized only one of threads as a nw_pthread. I am facing memory segmentation errors while allocating in the non
network thread. It appears I have to make the second thread a network thread. However can io-pkt handle more than one
nw_pthread? There are a lot of global variables that both network threads would share such as the stk_ctl, WTP variables
when we init the threads. I read somewhere io-pkt can have only one thread per driver.
|
|
|