1. 05 12月, 2015 1 次提交
  2. 13 8月, 2015 1 次提交
  3. 09 3月, 2015 1 次提交
  4. 14 1月, 2015 1 次提交
  5. 29 10月, 2014 1 次提交
  6. 13 8月, 2014 1 次提交
  7. 30 3月, 2014 1 次提交
  8. 25 3月, 2014 1 次提交
    • E
      atl1c: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. · 07641c8f
      Eric W. Biederman 提交于
      The call path: atl1c_xmit_frame, atlc_tx_rollback, atl1c_clean_buffer
      can not be tell at compile time if it will be invoked from hard irq
      or other context, as atl1c_xmit_frame does not know.  So remove
      the logic that  passes the compile time knowledge into al1c_clean_buffer
      and figure out it out at runtime with dev_consume_skb_any.
      
      Replace dev_kfree_skb with dev_kfree_skb_any in atl1c_xmit_frame that
      can be called in hard irq and other contexts.
      
      Replace dev_kfree_skb and dev_kfree_skb_irq with dev_consume_skb_any
      in atl1c_clean_buffer that can be called in hard irq and other
      contexts.
      Signed-off-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      07641c8f
  9. 15 1月, 2014 1 次提交
  10. 20 12月, 2013 1 次提交
  11. 31 7月, 2013 1 次提交
    • E
      atl1c: Fix misuse of netdev_alloc_skb in refilling rx ring · 7b701764
      Eric Dumazet 提交于
      On Mon, 2013-07-29 at 08:30 -0700, Eric Dumazet wrote:
      > On Mon, 2013-07-29 at 13:09 +0100, Luis Henriques wrote:
      >
      > >
      > > I confirm that I can't reproduce the issue using this patch.
      > >
      >
      > Thanks, I'll send a polished patch, as this one had an error if
      > build_skb() returns NULL (in case sk_buff allocation fails)
      
      Please try the following patch : It should use 2K frags instead of 4K
      for normal 1500 mtu
      
      Thanks !
      
      [PATCH] atl1c: use custom skb allocator
      
      We had reports ( https://bugzilla.kernel.org/show_bug.cgi?id=54021 )
      that using high order pages for skb allocations is problematic for atl1c
      
      We do not know exactly what the problem is, but we suspect that crossing
      4K pages is not well supported by this hardware.
      
      Use a custom allocator, using page allocator and 2K fragments for
      optimal stack behavior. We might make this allocator generic
      in future kernels.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Cc: Luis Henriques <luis.henriques@canonical.com>
      Cc: Neil Horman <nhorman@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7b701764
  12. 28 7月, 2013 1 次提交
  13. 27 7月, 2013 1 次提交
  14. 23 5月, 2013 1 次提交
  15. 20 4月, 2013 2 次提交
  16. 20 2月, 2013 1 次提交
  17. 14 2月, 2013 1 次提交
  18. 05 2月, 2013 1 次提交
  19. 09 1月, 2013 1 次提交
  20. 04 1月, 2013 2 次提交
  21. 08 12月, 2012 1 次提交
  22. 04 12月, 2012 1 次提交
  23. 06 10月, 2012 1 次提交
  24. 08 9月, 2012 1 次提交
  25. 24 8月, 2012 1 次提交
  26. 21 7月, 2012 1 次提交
  27. 11 7月, 2012 1 次提交
  28. 09 7月, 2012 1 次提交
  29. 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
  30. 01 5月, 2012 7 次提交
  31. 26 4月, 2012 2 次提交