1. 11 1月, 2011 2 次提交
  2. 25 10月, 2010 1 次提交
  3. 07 10月, 2010 1 次提交
  4. 19 8月, 2010 1 次提交
  5. 16 6月, 2010 1 次提交
    • S
      netdev:bfin_mac: reclaim and free tx skb as soon as possible after transfer · 4fcc3d34
      Sonic Zhang 提交于
      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: NSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4fcc3d34
  6. 24 5月, 2010 1 次提交
  7. 18 5月, 2010 9 次提交
  8. 14 5月, 2010 1 次提交
    • J
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches 提交于
      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: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4b77097
  9. 10 5月, 2010 1 次提交
  10. 04 4月, 2010 1 次提交
    • J
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko 提交于
      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: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22bedad3
  11. 23 2月, 2010 1 次提交
  12. 13 2月, 2010 1 次提交
  13. 19 1月, 2010 1 次提交
  14. 04 12月, 2009 1 次提交
  15. 02 9月, 2009 1 次提交
  16. 06 7月, 2009 1 次提交
  17. 30 5月, 2009 4 次提交
  18. 27 5月, 2009 1 次提交
  19. 15 4月, 2009 1 次提交
  20. 25 3月, 2009 1 次提交
  21. 27 1月, 2009 1 次提交
  22. 04 11月, 2008 1 次提交
  23. 13 10月, 2008 1 次提交
    • A
      net/bfin_mac.c MDIO namespace fixes · 0ed0563e
      Adrian Bunk 提交于
      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: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0ed0563e
  24. 09 10月, 2008 1 次提交
  25. 25 9月, 2008 1 次提交
  26. 30 7月, 2008 3 次提交