Skip to content
Snippets Groups Projects
  1. Jun 12, 2009
  2. May 27, 2009
  3. Jan 15, 2009
    • Eric Dumazet's avatar
      b44: GFP_DMA skb should not escape from driver · a58c891a
      Eric Dumazet authored
      
      b44 chip has some hardware limitations, that need GFP_DMA bounce
      buffers in some situations.
      
      In order to not deplete DMA zone, we should keep allocated GFP_DMA skb
      only for driver use. At rx time, we copy such skb to newly allocated
      skb, reusing existing copybreak infrastructure.
      
      On machines with low amount of memory, all skb meet the hardware limitation,
      so no copy is needed. We detect this situation using a new device flag, set
      to one if one GFP_DMA skb was ever allocated by b44_alloc_rx_skb().
      
      Previously allocated skb, even outside from DMA zone will then be recycled,
      to have minimal impact on DMA zone use.
      
      Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
      Tested-by: default avatarIonut Leonte <ionut.leonte@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a58c891a
  4. Oct 10, 2007
    • Michael Buesch's avatar
      [B44]: port to native ssb support · 753f4920
      Michael Buesch authored
      
      Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      753f4920
    • Stephen Hemminger's avatar
      [NET]: Make NAPI polling independent of struct net_device objects. · bea3348e
      Stephen Hemminger authored
      
      Several devices have multiple independant RX queues per net
      device, and some have a single interrupt doorbell for several
      queues.
      
      In either case, it's easier to support layouts like that if the
      structure representing the poll is independant from the net
      device itself.
      
      The signature of the ->poll() call back goes from:
      
      	int foo_poll(struct net_device *dev, int *budget)
      
      to
      
      	int foo_poll(struct napi_struct *napi, int budget)
      
      The caller is returned the number of RX packets processed (or
      the number of "NAPI credits" consumed if you want to get
      abstract).  The callee no longer messes around bumping
      dev->quota, *budget, etc. because that is all handled in the
      caller upon return.
      
      The napi_struct is to be embedded in the device driver private data
      structures.
      
      Furthermore, it is the driver's responsibility to disable all NAPI
      instances in it's ->stop() device close handler.  Since the
      napi_struct is privatized into the driver's private data structures,
      only the driver knows how to get at all of the napi_struct instances
      it may have per-device.
      
      With lots of help and suggestions from Rusty Russell, Roland Dreier,
      Michael Chan, Jeff Garzik, and Jamal Hadi Salim.
      
      Bug fixes from Thomas Graf, Roland Dreier, Peter Zijlstra,
      Joseph Fannin, Scott Wood, Hans J. Koch, and Michael Chan.
      
      [ Ported to current tree and all drivers converted.  Integrated
        Stephen's follow-on kerneldoc additions, and restored poll_list
        handling to the old style to fix mutual exclusion issues.  -DaveM ]
      
      Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bea3348e
  5. Jul 08, 2007
  6. Feb 06, 2007
  7. Jun 22, 2006
  8. Nov 08, 2005
  9. Nov 07, 2005
  10. Oct 18, 2005
    • John W. Linville's avatar
      [PATCH] b44: alternate allocation option for DMA descriptors · 9f38c636
      John W. Linville authored
      
      This is a (final?) hack to support the odd DMA allocation requirements
      of the b44 hardware.  The b44 hardware has a 30-bit DMA mask.  On x86,
      anything less than a 32-bit DMA mask forces allocations into the 16MB
      GFP_DMA range.  The memory there is somewhat limited, often resulting
      in an inability to initialize the b44 driver.
      
      This hack uses streaming DMA allocation APIs in order to provide an
      alternative in case the GFP_DMA allocation fails.  It is somewhat ugly,
      but not much worse than the similar existing hacks to support SKB
      allocations in the same driver.  FWIW, I have received positive
      feedback on this from several Fedora users.
      
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      9f38c636
  11. Apr 16, 2005
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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!
Loading