query ..napi and non-napi compatibilty in tg3 ethernet driver for kernel 2.6.28
hi folks,
I have ubuntu with kernel 2.6.28.2. My question is regarding napi and non-napi compatibility for my tg3 ehternet driver. I tried to drill down myself and so put logs in net_dev_init(), dev_cpu_callback() and netif_rx(). Also, I put logs in my ethernet driver tg3 in tg3_init_one(),tg3_open() and so on.
I am able to see netif_rx() logs( in /var/log/messages) when system boots, but when I do rmmod tg3.ko and then insmod tgs.ko, then I see logs for the ethernet driver tg3 i.e. tg3_init_one and so on..
How does polling and interrupt takes place and what about the role of netpoll_rx() in netif_rx() function??
Thanx in advance
|