• D
    pkt_sched: Schedule qdiscs instead of netdev_queue. · 37437bb2
    David S. Miller 提交于
    When we have shared qdiscs, packets come out of the qdiscs
    for multiple transmit queues.
    
    Therefore it doesn't make any sense to schedule the transmit
    queue when logically we cannot know ahead of time the TX
    queue of the SKB that the qdisc->dequeue() will give us.
    
    Just for sanity I added a BUG check to make sure we never
    get into a state where the noop_qdisc is scheduled.
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    37437bb2
netdevice.h 49.3 KB