1. 02 7月, 2013 1 次提交
  2. 26 6月, 2013 2 次提交
  3. 28 5月, 2013 1 次提交
  4. 25 4月, 2013 1 次提交
  5. 28 3月, 2013 1 次提交
  6. 27 3月, 2013 1 次提交
  7. 21 3月, 2013 1 次提交
  8. 18 3月, 2013 1 次提交
  9. 13 2月, 2013 1 次提交
  10. 22 1月, 2013 1 次提交
  11. 19 1月, 2013 1 次提交
    • M
      net: ethernet: davinci_cpdma: Add boundary for rx and tx descriptors · fae50823
      Mugunthan V N 提交于
      When there is heavy transmission traffic in the CPDMA, then Rx descriptors
      memory is also utilized as tx desc memory looses all rx descriptors and the
      driver stops working then.
      
      This patch adds boundary for tx and rx descriptors in bd ram dividing the
      descriptor memory to ensure that during heavy transmission tx doesn't use
      rx descriptors.
      
      This patch is already applied to davinci_emac driver, since CPSW and
      davici_dmac shares the same CPDMA, moving the boundry seperation from
      Davinci EMAC driver to CPDMA driver which was done in the following
      commit
      
      commit 86d8c07f
      Author: Sascha Hauer <s.hauer@pengutronix.de>
      Date:   Tue Jan 3 05:27:47 2012 +0000
      
          net/davinci: do not use all descriptors for tx packets
      
          The driver uses a shared pool for both rx and tx descriptors.
          During open it queues fixed number of 128 descriptors for receive
          packets. For each received packet it tries to queue another
          descriptor. If this fails the descriptor is lost for rx.
          The driver has no limitation on tx descriptors to use, so it
          can happen during a nmap / ping -f attack that the driver
          allocates all descriptors for tx and looses all rx descriptors.
          The driver stops working then.
          To fix this limit the number of tx descriptors used to half of
          the descriptors available, the rx path uses the other half.
      
          Tested on a custom board using nmap / ping -f to the board from
          two different hosts.
      Signed-off-by: NMugunthan V N <mugunthanvnm@ti.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fae50823
  12. 15 1月, 2013 1 次提交
  13. 07 1月, 2013 1 次提交
  14. 04 1月, 2013 1 次提交
  15. 04 12月, 2012 1 次提交
  16. 23 7月, 2012 2 次提交
  17. 19 7月, 2012 1 次提交
  18. 11 7月, 2012 2 次提交
  19. 24 4月, 2012 1 次提交
    • A
      net/davinci_emac: fix failing PHY connect attempts · 1ab8be4a
      Anatolij Gustschin 提交于
      PHY connect attempts fail if no PHY id is specified in the emac platform
      data and another mdio bus has been registered before 'davinci_mdio' bus. In
      this case when configuring the interface, there will be an attempt to
      connect to already attached PHY on the previously registered mdio bus:
      
      net eth1: PHY already attached
      net eth1: could not connect to phy smsc911x-0:01
      IP-Config: Failed to open eth1
      IP-Config: Device `eth1' not found
      
      Fix this by modifying match_first_device() to match first PHY device
      on 'davinci_mdio' bus.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1ab8be4a
  20. 04 4月, 2012 1 次提交
  21. 24 2月, 2012 2 次提交
  22. 18 2月, 2012 1 次提交
  23. 09 2月, 2012 1 次提交
  24. 03 2月, 2012 1 次提交
  25. 01 2月, 2012 1 次提交
  26. 04 1月, 2012 1 次提交
    • S
      net/davinci: do not use all descriptors for tx packets · 86d8c07f
      Sascha Hauer 提交于
      The driver uses a shared pool for both rx and tx descriptors.
      During open it queues fixed number of 128 descriptors for receive
      packets. For each received packet it tries to queue another
      descriptor. If this fails the descriptor is lost for rx.
      The driver has no limitation on tx descriptors to use, so it
      can happen during a nmap / ping -f attack that the driver
      allocates all descriptors for tx and looses all rx descriptors.
      The driver stops working then.
      To fix this limit the number of tx descriptors used to half of
      the descriptors available, the rx path uses the other half.
      
      Tested on a custom board using nmap / ping -f to the board from
      two different hosts.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      86d8c07f
  27. 18 8月, 2011 1 次提交
  28. 12 8月, 2011 1 次提交
  29. 24 6月, 2011 1 次提交
  30. 20 6月, 2011 1 次提交
  31. 14 6月, 2011 2 次提交
  32. 10 6月, 2011 1 次提交
  33. 02 6月, 2011 1 次提交
  34. 27 5月, 2011 1 次提交
  35. 31 3月, 2011 1 次提交