1. 02 7月, 2014 1 次提交
  2. 14 5月, 2014 1 次提交
  3. 13 5月, 2014 1 次提交
  4. 18 4月, 2014 1 次提交
  5. 29 3月, 2014 1 次提交
  6. 25 3月, 2014 1 次提交
    • E
      cxfb4vf: Call dev_kfree/consume_skb_any instead of [dev_]kfree_skb. · 42ffda5f
      Eric W. Biederman 提交于
      Replace kfree_skb with dev_consume_skb_any in free_tx_desc that can be
      called in hard irq and other contexts. dev_consume_skb_any is used
      as this function consumes successfully transmitted skbs.
      
      Replace dev_kfree_skb with dev_kfree_skb_any in t4vf_eth_xmit that can
      be called in hard irq and other contexts, on paths that drop the skb.
      
      Replace dev_kfree_skb with dev_consume_skb_any in t4vf_eth_xmit that can
      be called in hard irq and other contexts, on paths that successfully
      transmit the skb.
      Signed-off-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      42ffda5f
  7. 19 2月, 2014 2 次提交
  8. 23 12月, 2013 1 次提交
  9. 04 12月, 2013 1 次提交
  10. 22 10月, 2013 1 次提交
  11. 18 10月, 2013 1 次提交
  12. 21 9月, 2013 1 次提交
  13. 30 4月, 2013 1 次提交
    • V
      cxgb4vf: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG · 94dace10
      Vipul Pandya 提交于
      Newer firmware can post CPL_SGE_EGR_UPDATE message encapsulated in a
      CPL_FW4_MSG as follows
      
      flit0 rss_header (if DropRSS == 0 in IQ context)
      flit1 CPL_FW4_MSG cpl
      flit2 rss_header w/opcode CPL_SGE_EGR_UPDATE
      flit3 CPL_SGE_EGR_UPDATE cpl
      
      So FW4_MSG CPLs with a newly created type of FW_TYPE_RSSCPL have the
      CPL_SGE_EGR_UPDATE CPL message in flit 2 of the FW4_MSG. Firmware can still
      post regular CPL_SGE_EGR_UPDATE messages, so the drivers need to handle
      both.
      
      This patch also writes a new parameter to firmware requesting encapsulated
      EGR_UPDATE. This allows firmware with this support to not break older drivers.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      94dace10
  14. 20 4月, 2013 2 次提交
  15. 14 3月, 2013 1 次提交
  16. 13 2月, 2013 1 次提交
  17. 09 2月, 2013 1 次提交
  18. 09 1月, 2013 1 次提交
  19. 08 1月, 2013 1 次提交
  20. 08 12月, 2012 1 次提交
  21. 04 12月, 2012 1 次提交
  22. 27 11月, 2012 1 次提交
  23. 28 9月, 2012 1 次提交
  24. 01 8月, 2012 1 次提交
    • M
      netvm: propagate page->pfmemalloc from skb_alloc_page to skb · 0614002b
      Mel Gorman 提交于
      The skb->pfmemalloc flag gets set to true iff during the slab allocation
      of data in __alloc_skb that the the PFMEMALLOC reserves were used.  If
      page splitting is used, it is possible that pages will be allocated from
      the PFMEMALLOC reserve without propagating this information to the skb.
      This patch propagates page->pfmemalloc from pages allocated for fragments
      to the skb.
      
      It works by reintroducing and expanding the skb_alloc_page() API to take
      an skb.  If the page was allocated from pfmemalloc reserves, it is
      automatically copied.  If the driver allocates the page before the skb, it
      should call skb_propagate_pfmemalloc() after the skb is allocated to
      ensure the flag is copied properly.
      
      Failure to do so is not critical.  The resulting driver may perform slower
      if it is used for swap-over-NBD or swap-over-NFS but it should not result
      in failure.
      
      [davem@davemloft.net: API rename and consistency]
      Signed-off-by: NMel Gorman <mgorman@suse.de>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Cc: Neil Brown <neilb@suse.de>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Christie <michaelc@cs.wisc.edu>
      Cc: Eric B Munson <emunson@mgebm.net>
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Christoph Lameter <cl@linux.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0614002b
  25. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  26. 07 3月, 2012 1 次提交
  27. 24 2月, 2012 1 次提交
  28. 01 2月, 2012 1 次提交
  29. 06 1月, 2012 1 次提交
  30. 04 1月, 2012 1 次提交
  31. 06 12月, 2011 1 次提交
  32. 23 11月, 2011 1 次提交
    • E
      net: remove netdev_alloc_page and use __GFP_COLD · 1f2149c1
      Eric Dumazet 提交于
      Given we dont use anymore the struct net_device *dev argument, and this
      interface brings litle benefit, remove netdev_{alloc|free}_page(), to
      debloat include/linux/skbuff.h a bit.
      
      (Some drivers used a mix of these interfaces and alloc_pages())
      
      When allocating a page given to device for DMA transfer (device to
      memory), it makes sense to use a cold one (__GFP_COLD)
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: Dimitris Michailidis <dm@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1f2149c1
  33. 17 11月, 2011 1 次提交
  34. 14 11月, 2011 1 次提交
  35. 21 10月, 2011 1 次提交
  36. 19 10月, 2011 1 次提交
  37. 18 8月, 2011 1 次提交
  38. 11 8月, 2011 1 次提交