1. 12 Jan, 2011 1 commit
  2. 10 Jan, 2011 3 commits
  3. 25 Oct, 2010 1 commit
  4. 07 Oct, 2010 1 commit
  5. 19 Aug, 2010 1 commit
  6. 15 Jun, 2010 1 commit
    • Sonic Zhang's avatar
      netdev:bfin_mac: reclaim and free tx skb as soon as possible after transfer · 4fcc3d34
      Sonic Zhang authored
      
      
      SKBs hold onto resources that can't be held indefinitely, such as TCP
      socket references and netfilter conntrack state.  So if a packet is left
      in TX ring for a long time, there might be a TCP socket that cannot be
      closed and freed up.
      
      Current blackfin EMAC driver always reclaim and free used tx skbs in future
      transfers. The problem is that future transfer may not come as soon as
      possible. This patch start a timer after transfer to reclaim and free skb.
      There is nearly no performance drop with this patch.
      
      TX interrupt is not enabled because of a strange behavior of the Blackfin EMAC.
      If EMAC TX transfer control is turned on, endless TX interrupts are triggered
      no matter if TX DMA is enabled or not. Since DMA walks down the ring automatically,
      TX transfer control can't be turned off in the middle. The only way is to disable
      TX interrupt completely.
      Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4fcc3d34
  7. 24 May, 2010 1 commit
  8. 17 May, 2010 9 commits
  9. 14 May, 2010 1 commit
    • Joe Perches's avatar
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches authored
      
      
      This patch removes from drivers/net/ all the unnecessary
      return; statements that precede the last closing brace of
      void functions.
      
      It does not remove the returns that are immediately
      preceded by a label as gcc doesn't like that.
      
      It also does not remove null void functions with return.
      
      Done via:
      $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
        xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
      
      with some cleanups by hand.
      
      Compile tested x86 allmodconfig only.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a4b77097
  10. 10 May, 2010 1 commit
  11. 03 Apr, 2010 1 commit
    • Jiri Pirko's avatar
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko authored
      
      
      Converts the list and the core manipulating with it to be the same as uc_list.
      
      +uses two functions for adding/removing mc address (normal and "global"
       variant) instead of a function parameter.
      +removes dev_mcast.c completely.
      +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
       manipulation with lists on a sandbox (used in bonding and 80211 drivers)
      Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      22bedad3
  12. 22 Feb, 2010 1 commit
  13. 12 Feb, 2010 1 commit
  14. 19 Jan, 2010 1 commit
  15. 03 Dec, 2009 1 commit
  16. 02 Sep, 2009 1 commit
  17. 05 Jul, 2009 1 commit
  18. 29 May, 2009 4 commits
  19. 26 May, 2009 1 commit
  20. 14 Apr, 2009 1 commit
  21. 24 Mar, 2009 1 commit
  22. 26 Jan, 2009 1 commit
  23. 03 Nov, 2008 1 commit
  24. 12 Oct, 2008 1 commit
    • Adrian Bunk's avatar
      net/bfin_mac.c MDIO namespace fixes · 0ed0563e
      Adrian Bunk authored
      Commit 2e888103
      
      
      (phylib: add mdiobus_{read,write}) causes the
      following compile error:
      
      <--  snip  -->
      
      ...
        CC      drivers/net/bfin_mac.o
      drivers/net/bfin_mac.c:272: error: conflicting types for 'mdiobus_read'
      include/linux/phy.h:130: error: previous declaration of 'mdiobus_read' was here
      drivers/net/bfin_mac.c:287: error: conflicting types for 'mdiobus_write'
      include/linux/phy.h:131: error: previous declaration of 'mdiobus_write' was here
      make[3]: *** [drivers/net/bfin_mac.o] Error 1
      
      <--  snip  -->
      
      This patch prefixes the driver functions with bfin_
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0ed0563e
  25. 08 Oct, 2008 1 commit
  26. 24 Sep, 2008 1 commit
  27. 29 Jul, 2008 1 commit