• S
    S2io: Multiqueue network device support implementation · 3a3d5756
    Sreenivasa Honnur 提交于
    - Resubmit #3
    Multiqueue netwrok device support implementation.
    - Added a loadable parameter "multiq" to enable/disable multiqueue support,
      by default it is disabled.
    - skb->queue_mapping is not used for queue/fifo selection. FIFO selection is
      based on skb->priority.
    - Added per FIFO flags FIFO_QUEUE_START and FIFO_QUEUE_STOP. Check this flag
      for starting and stopping netif queue and update the flags accordingly.
    - In tx_intr_handler added a check to ensure that we have free TXDs before wak-
      ing up the queue.
    - Added helper functions for queue manipulation(start/stop/wakeup) to invoke
      appropriate netif_ functions.
    - Calling netif_start/stop for link up/down case respectively.
    
    - As per Andi kleen's review comments, using skb->priority field for FIFO
      selection.
    Signed-off-by: NSurjit Reang <surjit.reang@neterion.com>
    Signed-off-by: NRamkrishna Vepa <ram.vepa@neterion.com>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    3a3d5756
s2io.c 242.3 KB