1. 03 Sep, 2003 18 commits
    • Randy Dunlap's avatar
      5c84b8c4
    • Randy Dunlap's avatar
      [NET]: remove duplicate #includes in net/ · e5fae76f
      Randy Dunlap authored
      e5fae76f
    • Stephen Hemminger's avatar
      [NET]: Convert ltpc to new initialization. · c9f8652f
      Stephen Hemminger authored
      Originally from Al Viro
      NE11-ltpc
      * switched ltpc to dynamic allocation
      * ltpc: embedded ->priv
      * ltpc: fixed bugs in DMA allocation
      * ltpc: fixed resource leaks on failure exits
      * ltpc: fixed part of timer bugs (still a-f**ing-plenty of those)
      * ltpc: fixed order of freeing bugs
      Added
      * switch to free_netdev
      c9f8652f
    • Stephen Hemminger's avatar
      [NET]: Loopback device simplification. · 4e39f29b
      Stephen Hemminger authored
      Now that all the magic chain of static devices is gone from Space.c
      The initialization of the one remaining static device (ie the loopback driver)
      can be simplified.
      
      One small change was to reduce possibility of failing the initialization if
      allocation of private data failed by just going without statistics.
      4e39f29b
    • Stephen Hemminger's avatar
      [NET]: Convert sbni initialization. · 4976b816
      Stephen Hemminger authored
      Convert sbni driver
      - new probing
      - single allocation using alloc_netdev for private data
      4976b816
    • Stephen Hemminger's avatar
      [NET]: Convert tr probes to probe_old_netdevs(). · 11897753
      Stephen Hemminger authored
      Analogous to previous patch.  Instead of dev_base list of static
      entries, use a loop and dynamically allocate devices.
      
      Tested only the 'no hardware' case.
      11897753
    • Stephen Hemminger's avatar
      [NET]: Convert ether probes to probe_old_netdevs(). · 5691ce00
      Stephen Hemminger authored
      Convert old ethernet device probing from dev_base linked list
      to the probe_old_netdevs.
      
      Blame me for this one ;-)
      
      Builds and runs, but don't have old ISA hardware to really test it.
      So please find some or review it carefully.
      5691ce00
    • Stephen Hemminger's avatar
      [NET]: Convert cops over to new initialization. · fc9e0793
      Stephen Hemminger authored
      More from Al
      NE12-cops
      * switched cops to dynamic allocation
      * cops: embedded ->priv
      * cops: fixed ->irq clobbering on autoprobe
      Added
      * free_netdev
      fc9e0793
    • Stephen Hemminger's avatar
      [NET]: Convert SDLA to new initialization. · 51845e3a
      Stephen Hemminger authored
      Based on Al viro's NE10-sdla
      * switched sdla to dynamic allocation
      * sdla: embedded ->priv
      * sdla: fixed resource leaks on failure exits
      Additionally fixes.
      * get rid of cli/sti
      * get rid of MOD/INC
      
      Builds and probes, but don't have the hardware.
      Driver has never built on 2.6 before this.
      51845e3a
    • Stephen Hemminger's avatar
      [NET]: Add probe_old_netdevs() hook. · 775b2356
      Stephen Hemminger authored
      This set of patches is a mixture of Al's work to device initialization,
      and some of my own to complete it for all the ether, tr, sbni, and loopback
      devices.
      
      The first patch adds the hook for converting old driver initialization
      code over to dynamic allocation.
      
      This part extracted from Al viro's set of net driver changes for ethertap.
      775b2356
    • François Romieu's avatar
      1a66af8c
    • Stephen Hemminger's avatar
      [NET]: DLCI driver cleanups for 2.6.x · db390c0e
      Stephen Hemminger authored
        
      - keep list of arrays for devices and use a lock
      - make sure header is contiguous before overlaying data structure
      - dynamically allocate dev->priv with alloc_netdev
      - get rid of MOD_INC/DEC
      - free devices on module unload
      - keep refcount on slave device's since holding a ptr
      db390c0e
    • Mitchell Blank Jr.'s avatar
      [ATM]: Lanai driver updates. · 7a3817cd
      Mitchell Blank Jr. authored
      o Big performance improvement.  The version of the driver in the kernel
        still had a "mdelay(1)" after every register write.  This capped
        performance at about 8Mbps and ate tons of CPU time.  (Luckily, most
        users of this card are just terminating a DSL line where its not too
        noticeable)
      
        However, after removing this delay the card started getting out of
        sync with the driver under stress tests.  After a couple days of chasing
        the bug I finally determine that the card's support for transmitting
        partial PDUs just doesn't quite work as advertised (before we would send
        a partial PDU to completely fill a VCC's transmit buffer and then send
        the rest of the skb when more buffer space filled up).  The usefulness of
        this is somewhat doubtful anyway and removing it cleaned up a lot of code.
      
        I also added some memory barriers to make sure operations to the card
        happen in the correct order.
      
        Now for the first time ever we get near line-rate performance out of this
        card (~19Mb/s TCP in netperf between two ~300Mhz machines)
      
      o Locking changes (essentially the patch Chas sent me a couple weeks ago
        with some minor tweaking)  I'm still not sure we're getting 100% of the
        cases right but it's definitely FAR better than the old lock-less version.
      
      o Cleanup the backlog draining code in lanai_shutdown_tx_vci()
      
      o Remove outdated comment describing how to compile the module
      
      o Got rid of the "service_novcc_[tr]x" stats - it's really the same error
        as "service_[tr]x" - there's no reason to count them separately.
      
      o Use the ATM_25_PCR constant instead of computing it for ourselves
      7a3817cd
    • Chas Williams's avatar
    • Jeff Garzik's avatar
      [NET]: Fix ethtool_ops thinko in sungem.c · 70150e54
      Jeff Garzik authored
      70150e54
    • Felipe Damasio's avatar
      aa0b3317
    • Maximilian Attems's avatar
      c8037cbe
    • Andrew Morton's avatar
      [NET]: Fix 64-bit warnings in af_netlink.c · e50a1046
      Andrew Morton authored
      e50a1046
  2. 04 Sep, 2003 2 commits
  3. 03 Sep, 2003 13 commits
  4. 04 Sep, 2003 2 commits
  5. 02 Sep, 2003 5 commits