1. 20 4月, 2013 1 次提交
  2. 18 3月, 2013 1 次提交
  3. 10 3月, 2013 1 次提交
  4. 12 12月, 2012 7 次提交
    • R
      bna: Driver Version Updated to 3.1.2.1 · d4bca3d7
      Rasesh Mody 提交于
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d4bca3d7
    • R
      bna: Firmware update · 478ab8c9
      Rasesh Mody 提交于
      Change Details:
       -      Added Stats clear counter to the bfi_enet_stats_mac structure and
              ethtool stats
       -      Modified the firmware naming convention to contain the firmware image
              version (3.1.0.0). The new convention is
              <firmware-image>-<firmware-version>.bin The change will enforce loading
              only compatible firmware with this driver and also avoid over-writing
              the old firmware image in-order to load new version driver as the
              firmware names used to be the same.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      478ab8c9
    • R
      bna: Add RX State · 215a64a2
      Rasesh Mody 提交于
      Change Details:
       -      BNA state machine for Rx in start_wait state moves it to stop_wait on
              receipt of RX_E_STOP. In Rx stop_wait state, on receipt of
                      RX_E_STARTED event does enet stop
                      RX_E_STOPPED event does rx_cleanup_cbfn
              rx_cleanup_cbfn in this case is called without post_cbfn. post_cbfn
              happens only after RX_E_STARTED event is received in start_wait. Without
              doing post_cbfn, NAPI remains disabled and in cleanup we try to disable
              again causing endless wait. ifconfig process and other workers can thus
              get stuck.
       -      Introducing start_stop_wait state for Rx. This state handles the case of
              if post_cbfn is not done simply do stop without the cleanup.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      215a64a2
    • R
      bna: Rx Page Based Allocation · 30f9fc94
      Rasesh Mody 提交于
      Change Details:
              Enhanced support for GRO. Page-base allocation method for Rx buffers is
      used in GRO. Skb allocation has been removed in Rx path to use always warm-cache
      skbs provided by napi_get_frags.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      30f9fc94
    • R
      bna: TX Intr Coalescing Fix · d3f92aec
      Rasesh Mody 提交于
      Change Details:
              For Tx IB, IPM was enabled with inter_pkt_timeo of 0. This caused the
      Tx IB not to generate interrupt till inter_pkt_count of packets have been
      received. Correct definition for BFI_TX_INTERPKT_TIMEO & BFI_TX_INTERPKT_COUNT
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d3f92aec
    • 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
  5. 04 12月, 2012 1 次提交
  6. 03 12月, 2012 1 次提交
  7. 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
  8. 11 7月, 2012 2 次提交
  9. 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
  10. 30 4月, 2012 1 次提交
  11. 05 4月, 2012 7 次提交
  12. 21 3月, 2012 1 次提交
  13. 13 2月, 2012 1 次提交
  14. 10 2月, 2012 1 次提交
  15. 02 2月, 2012 1 次提交
  16. 01 2月, 2012 2 次提交
  17. 06 1月, 2012 2 次提交
  18. 24 12月, 2011 2 次提交
  19. 20 12月, 2011 1 次提交
  20. 09 12月, 2011 1 次提交
  21. 17 11月, 2011 1 次提交
  22. 09 11月, 2011 1 次提交
  23. 01 11月, 2011 1 次提交
  24. 19 10月, 2011 1 次提交