1. 12 12月, 2012 2 次提交
    • R
      bna: Tx and Rx Optimizations · 5216562a
      Rasesh Mody 提交于
      Change details:
       -      Have contiguous queue pages for TxQ, RxQ and CQ. Data structure and
              QPT changes related to contiguous queue pages
       -      Optimized Tx and Rx unmap structures. Tx and Rx fast path changes due to
              unmap data structure changes
       -      Re-factored Tx and Rx fastpath routines as per the new queue data structures
       -      Implemented bnad_txq_wi_prepare() to program the opcode, flags, frame_len
              and num_vectors in the work item
       -      Reduced Max TxQ and RxQ depth to 2048 while default value for Tx/Rx queue
              depth is unaltered (512)
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5216562a
    • R
      bna: Code Cleanup and Enhancements · 5e46631f
      Rasesh Mody 提交于
      Change details:
       -      Remove unnecessary prefetch
       -      Simplify checking & comparison of CQ flags
       -      Dereference & store unmap_array, unmap_cons & current unmap_array
              element only once
       -      Make structures tx_config & rx_config cache line aligned.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5e46631f
  2. 04 12月, 2012 1 次提交
  3. 03 12月, 2012 1 次提交
  4. 28 9月, 2012 1 次提交
    • D
      bna: Fix warning false positive. · e905ed57
      David S. Miller 提交于
      GCC can't see that in all non-error-return paths we do in fact
      set *using_dac to something.
      
      Add an explicit initialization to remove this warning:
      
      drivers/net/ethernet/brocade/bna/bnad.c: In function ‘bnad_pci_probe’:
      drivers/net/ethernet/brocade/bna/bnad.c:3079:5: warning: ‘using_dac’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      drivers/net/ethernet/brocade/bna/bnad.c:3233:7: note: ‘using_dac’ was declared here
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e905ed57
  5. 11 7月, 2012 2 次提交
  6. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  7. 30 4月, 2012 1 次提交
  8. 05 4月, 2012 7 次提交
  9. 21 3月, 2012 1 次提交
  10. 13 2月, 2012 1 次提交
  11. 10 2月, 2012 1 次提交
  12. 02 2月, 2012 1 次提交
  13. 01 2月, 2012 2 次提交
  14. 06 1月, 2012 2 次提交
  15. 24 12月, 2011 2 次提交
  16. 20 12月, 2011 1 次提交
  17. 09 12月, 2011 1 次提交
  18. 17 11月, 2011 1 次提交
  19. 09 11月, 2011 1 次提交
  20. 01 11月, 2011 1 次提交
  21. 19 10月, 2011 1 次提交
  22. 08 10月, 2011 1 次提交
  23. 05 10月, 2011 1 次提交
  24. 30 9月, 2011 6 次提交