1. 17 1月, 2014 6 次提交
  2. 16 1月, 2014 1 次提交
  3. 02 1月, 2014 1 次提交
  4. 30 12月, 2013 1 次提交
  5. 15 11月, 2013 1 次提交
  6. 31 8月, 2013 1 次提交
  7. 22 8月, 2013 1 次提交
  8. 13 8月, 2013 1 次提交
  9. 05 7月, 2013 1 次提交
  10. 03 7月, 2013 1 次提交
  11. 02 7月, 2013 2 次提交
  12. 20 6月, 2013 1 次提交
  13. 13 6月, 2013 1 次提交
  14. 20 4月, 2013 1 次提交
  15. 09 4月, 2013 4 次提交
  16. 27 3月, 2013 7 次提交
  17. 15 3月, 2013 1 次提交
  18. 16 2月, 2013 1 次提交
  19. 11 2月, 2013 1 次提交
  20. 05 2月, 2013 1 次提交
  21. 15 1月, 2013 1 次提交
  22. 15 12月, 2012 1 次提交
  23. 27 11月, 2012 3 次提交
    • G
      stmmac: add Rx watchdog support to mitigate the DMA irqs · 62a2ab93
      Giuseppe CAVALLARO 提交于
      GMAC devices newer than databook 3.40 has an embedded timer
      that can be used for mitigating the number of interrupts.
      So this patch adds this optimizations.
      
      At any rate, the Rx watchdog can be disable (on bugged HW) by
      passing from the platform the riwt_off field.
      
      In this implementation the rx timer stored in the Reg9 is fixed
      to the max value. This will be tuned by using ethtool.
      
      V2: added a platform parameter to force to disable the rx-watchdog
      for example on new core where it is bugged.
      
      V3: do not disable NAPI when Rx watchdog is used.
      
      V4: a new extra statistic field has been added to show the early
      receive status in the interrupt handler.
      This patch also adds an extra check to avoid to call
      napi_schedule when the DMA_INTR_ENA_RIE bit is disabled in the
      Interrupt Mask register.
      Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      62a2ab93
    • G
      stmmac: add the initial tx coalesce schema · 9125cdd1
      Giuseppe CAVALLARO 提交于
      This patch adds a new schema used for mitigating the
      number of transmit interrupts.
      It is based on a SW timer and a threshold value.
      The timer is used to periodically call the stmmac_tx_clean
      function; the threshold is used for setting the IC (Interrupt
      on Completion bit). The ISR will then invoke the poll method.
      Also the patch improves some ethtool stat fields.
      
      V2: review the logic to manage the IC bit in the TDESC
      that was bugged because it didn't take care about the
      fragments. Also fix the tx_count_frames that has not to be
      limited to TX DMA ring. Thanks to Ben Hutchings.
      
      V3: removed the spin_lock irqsave/restore as D. Miller suggested.
      Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9125cdd1
    • G
      stmmac: remove dead code for STMMAC_TIMER support · 7284a3f1
      Giuseppe CAVALLARO 提交于
      The TIMER option is not longer supported and this
      code can be considered dead for this driver in
      the new kernel series.
      In fact, It was not updated at all and never used.
      Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7284a3f1