1. 25 9月, 2008 21 次提交
  2. 03 9月, 2008 14 次提交
  3. 27 8月, 2008 1 次提交
  4. 14 8月, 2008 1 次提交
  5. 23 7月, 2008 1 次提交
  6. 18 7月, 2008 2 次提交
    • J
      igb/ixgbe/e1000e: resolve tx multiqueue bug · d55b53ff
      Jeff Kirsher 提交于
      With the recent changes to tx mutiqueue, igb/ixgbe/e1000e was not calling
      netif_tx_start_all_queues() before calling netif_tx_wake_all_queues().
      This causes an issue during loading of the driver.
      
      In addition, updated e1000e to use the updated tx mutliqueue api.
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d55b53ff
    • D
      net: Use queue aware tests throughout. · fd2ea0a7
      David S. Miller 提交于
      This effectively "flips the switch" by making the core networking
      and multiqueue-aware drivers use the new TX multiqueue structures.
      
      Non-multiqueue drivers need no changes.  The interfaces they use such
      as netif_stop_queue() degenerate into an operation on TX queue zero.
      So everything "just works" for them.
      
      Code that really wants to do "X" to all TX queues now invokes a
      routine that does so, such as netif_tx_wake_all_queues(),
      netif_tx_stop_all_queues(), etc.
      
      pktgen and netpoll required a little bit more surgery than the others.
      
      In particular the pktgen changes, whilst functional, could be largely
      improved.  The initial check in pktgen_xmit() will sometimes check the
      wrong queue, which is mostly harmless.  The thing to do is probably to
      invoke fill_packet() earlier.
      
      The bulk of the netpoll changes is to make the code operate solely on
      the TX queue indicated by by the SKB queue mapping.
      
      Setting of the SKB queue mapping is entirely confined inside of
      net/core/dev.c:dev_pick_tx().  If we end up needing any kind of
      special semantics (drops, for example) it will be implemented here.
      
      Finally, we now have a "real_num_tx_queues" which is where the driver
      indicates how many TX queues are actually active.
      
      With IGB changes from Jeff Kirsher.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fd2ea0a7