1. 06 7月, 2009 1 次提交
  2. 19 5月, 2009 1 次提交
    • E
      net: release dst entry in dev_hard_start_xmit() · 93f154b5
      Eric Dumazet 提交于
      One point of contention in high network loads is the dst_release() performed
      when a transmited skb is freed. This is because NIC tx completion calls
      dev_kree_skb() long after original call to dev_queue_xmit(skb).
      
      CPU cache is cold and the atomic op in dst_release() stalls. On SMP, this is
      quite visible if one CPU is 100% handling softirqs for a network device,
      since dst_clone() is done by other cpus, involving cache line ping pongs.
      
      It seems right place to release dst is in dev_hard_start_xmit(), for most
      devices but ones that are virtual, and some exceptions.
      
      David Miller suggested to define a new device flag, set in alloc_netdev_mq()
      (so that most devices set it at init time), and carefuly unset in devices
      which dont want a NULL skb->dst in their ndo_start_xmit().
      
      List of devices that must clear this flag is :
      
      - loopback device, because it calls netif_rx() and quoting Patrick :
          "ip_route_input() doesn't accept loopback addresses, so loopback packets
           already need to have a dst_entry attached."
      - appletalk/ipddp.c : needs skb->dst in its xmit function
      
      - And all devices that call again dev_queue_xmit() from their xmit function
      (as some classifiers need skb->dst) : bonding, vlan, macvlan, eql, ifb, hdlc_fr
      Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      93f154b5
  3. 01 2月, 2009 1 次提交
  4. 22 1月, 2009 1 次提交
  5. 22 11月, 2008 1 次提交
  6. 24 7月, 2008 1 次提交
  7. 04 7月, 2008 3 次提交
  8. 25 4月, 2008 1 次提交
  9. 06 2月, 2008 3 次提交
  10. 14 8月, 2007 1 次提交
  11. 28 4月, 2007 1 次提交
  12. 26 4月, 2007 3 次提交
  13. 03 3月, 2007 1 次提交
  14. 27 9月, 2006 1 次提交
  15. 13 7月, 2006 1 次提交
  16. 17 11月, 2005 1 次提交
  17. 14 9月, 2005 1 次提交
    • A
      [PATCH] drivers/net/wan/: possible cleanups · 7665a089
      Adrian Bunk 提交于
      This patch contains possible cleanups including the following:
      - make needlessly global code static
      - #if 0 the following unused global function:
        - sdladrv.c: sdla_intde
      - remove the following unused global variable:
        - lmc_media.c: lmc_t1_cables
      - remove the following unneeded EXPORT_SYMBOL's:
        - cycx_drv.c: cycx_inten
        - sdladrv.c: sdla_inten
        - sdladrv.c: sdla_intde
        - sdladrv.c: sdla_intack
        - sdladrv.c: sdla_intr
        - syncppp.c: sppp_input
        - syncppp.c: sppp_change_mtu
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      7665a089
  18. 16 5月, 2005 1 次提交
    • K
      [PATCH] Generic HDLC update · b3dd65f9
      Krzysztof Halasa 提交于
      The attached patch updates generic HDLC to version 1.18.
      FR Cisco LMI production-tested. Please apply to Linux 2.6. Thanks.
      
      Changes:
      - doc updates
      - added Cisco LMI support to Frame-Relay code
      - cleaned hdlc_fr.c a bit, removed some orphaned #defines etc.
      - fixed a problem with non-functional LMI in FR DCE mode.
      - changed diagnostic messages to better conform to FR standards
      - all protocols: information about carrier changes (DCD line) is now
        printed to kernel logs.
      Signed-Off-By: NKrzysztof Halasa <khc@pm.waw.pl>
      b3dd65f9
  19. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4