What is the difference between qdisc and qdisc_sleeping? (in struct netdev_queue, file include/linux/netdevice.h)<div><br><div><div><div>I've been trying to find the answer to this question for a while, but I didn't succeed.</div>
<div>Does anyone knows why we need both pointers in netdev_queue?</div><div><br></div><div>In addition, there are 2 different locks related to these 2 ptrs in include/net/sch_generic.h: qdisc_root_lock() and qdisc_root_sleeping_lock(). Why we need both?</div>
<div><br></div><div>Thanks,</div><div><div><br>-- <br>Henrique Rodrigues<br><br>
</div></div></div></div></div>