1. 28 8月, 2018 1 次提交
  2. 02 8月, 2018 1 次提交
  3. 29 6月, 2018 1 次提交
  4. 18 5月, 2018 1 次提交
  5. 12 5月, 2018 1 次提交
  6. 30 4月, 2018 1 次提交
    • W
      erspan: auto detect truncated packets. · 1baf5ebf
      William Tu 提交于
      Currently the truncated bit is set only when the mirrored packet
      is larger than mtu.  For certain cases, the packet might already
      been truncated before sending to the erspan tunnel.  In this case,
      the patch detect whether the IP header's total length is larger
      than the actual skb->len.  If true, this indicated that the
      mirrored packet is truncated and set the erspan truncate bit.
      
      I tested the patch using bpf_skb_change_tail helper function to
      shrink the packet size and send to erspan tunnel.
      Reported-by: NXiaoyan Jin <xiaoyanj@vmware.com>
      Signed-off-by: NWilliam Tu <u9012063@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1baf5ebf
  7. 10 4月, 2018 1 次提交
  8. 28 3月, 2018 1 次提交
  9. 23 3月, 2018 1 次提交
  10. 05 3月, 2018 1 次提交
  11. 28 2月, 2018 3 次提交
  12. 07 2月, 2018 2 次提交
  13. 26 1月, 2018 1 次提交
  14. 27 12月, 2017 1 次提交
  15. 21 12月, 2017 2 次提交
  16. 20 12月, 2017 1 次提交
  17. 19 12月, 2017 2 次提交
  18. 16 12月, 2017 3 次提交
  19. 02 12月, 2017 1 次提交
  20. 10 11月, 2017 2 次提交
  21. 08 10月, 2017 1 次提交
  22. 02 10月, 2017 4 次提交
  23. 01 10月, 2017 1 次提交
  24. 20 9月, 2017 1 次提交
    • E
      ipv4: speedup ipv6 tunnels dismantle · 64bc1781
      Eric Dumazet 提交于
      Implement exit_batch() method to dismantle more devices
      per round.
      
      (rtnl_lock() ...
       unregister_netdevice_many() ...
       rtnl_unlock())
      
      Tested:
      $ cat add_del_unshare.sh
      for i in `seq 1 40`
      do
       (for j in `seq 1 100` ; do unshare -n /bin/true >/dev/null ; done) &
      done
      wait ; grep net_namespace /proc/slabinfo
      
      Before patch :
      $ time ./add_del_unshare.sh
      net_namespace        126    282   5504    1    2 : tunables    8    4    0 : slabdata    126    282      0
      
      real    1m38.965s
      user    0m0.688s
      sys     0m37.017s
      
      After patch:
      $ time ./add_del_unshare.sh
      net_namespace        135    291   5504    1    2 : tunables    8    4    0 : slabdata    135    291      0
      
      real	0m22.117s
      user	0m0.728s
      sys	0m35.328s
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64bc1781
  25. 29 8月, 2017 2 次提交
  26. 24 8月, 2017 1 次提交
  27. 23 8月, 2017 2 次提交