1. 03 Apr, 2012 1 commit
    • João Valverde's avatar
      ipl2tp: allow setting session interface name · ae5555d3
      João Valverde authored
      Hi,
      
      I've attached a trivial patch for iproute2 to allow naming interfaces
      created with "ip l2tp add session".
      
      I believe patches should go through the netdev mailing list but this
      patch is so small I figured that would just add noise. Hope that's OK.
      
      Originally I thought I would need a bigger patch and was going to take a
      stab at implementing something like
      
      ip l2tp add tunnel L2TP_TUNNEL_ARGS
      ip link add name NAME  [ LINK_OPTS ] type l2tp L2TP_SESSION_ARGS
      
      (a better interface IMHO) but all the code was there already, all that I
      needed to add was option parsing.
      
      Thanks,
      
      João Valverde
      
      From fd8c3b712527d2e959aeabc6f6b71a9910e7be7e Mon Sep 17 00:00:00 2001
      From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= <joao.valverde@ist.utl.pt>
      Date: Mon, 26 Mar 2012 18:30:56 +0100
      Subject: [PATCH] ipl2tp: allow setting session interface name
      ae5555d3
  2. 20 Mar, 2012 3 commits
    • Stephen Hemminger's avatar
      v3.3.0 · 4bb00cd2
      Stephen Hemminger authored
      4bb00cd2
    • Stephen Hemminger's avatar
      ip: allow set and display of link mode parameter · 82499282
      Stephen Hemminger authored
      The kernel supports a link mode attribute (which can be dormant or default).
      This attribute is used to control how the link watch engine
      handles operstate transistion.
      
      This adds a new parameter to ip link command to allow setting and
      displaying the value.
      ---
      82499282
    • Stephen Hemminger's avatar
      gre: allow 0 as a legal key value · 71816553
      Stephen Hemminger authored
      There is nothing in the standard that says 0 can't be used as a key.
      It makes sense to allow it. Also fix typo where ikey was printed for
      when printing okey.
      71816553
  3. 16 Mar, 2012 1 commit
  4. 15 Mar, 2012 4 commits
  5. 14 Mar, 2012 3 commits
  6. 10 Mar, 2012 1 commit
  7. 27 Feb, 2012 1 commit
  8. 22 Feb, 2012 2 commits
  9. 17 Feb, 2012 3 commits
  10. 15 Feb, 2012 2 commits
    • Stephen Hemminger's avatar
      dhcp-client-script: don't use /tmp · 20ed7b24
      Stephen Hemminger authored
      /tmp is a dangerous place and better to put log files in /var/log.
      Based on patch by Vasiliy Kulikov <segoon@openwall.com>
      20ed7b24
    • Stephen Hemminger's avatar
      Don't put configure files in /tmp · e557d1ac
      Stephen Hemminger authored
      Based on patch by Vasiliy Kulikov <segoon@openwall.com>
      Don't use /tmp since it is dangerous, instead put temporary files
      from configure script in build directory. This is what autoconf
      generated configure does.
      e557d1ac
  11. 09 Feb, 2012 3 commits
  12. 06 Feb, 2012 2 commits
  13. 30 Jan, 2012 1 commit
  14. 24 Jan, 2012 4 commits
  15. 20 Jan, 2012 9 commits
    • Stephen Hemminger's avatar
      Fix unix socket diagnostic build · f6062360
      Stephen Hemminger authored
      Get updated headers incorporated into build environment
      and include required sock_diag.h.
      f6062360
    • Pavel Emelyanov's avatar
      iproute: Dump unix sockets via netlink · dfbaa90d
      Pavel Emelyanov authored
      Get the same info as from /proc file plus the peer inode.
      
      Applies on top of new sock diag patch and udp diag patch.
      Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
      dfbaa90d
    • nick black's avatar
      Update ip manpage · db4a7f19
      nick black authored
      Fix synopsis and other references to match current code.
      db4a7f19
    • Vijay Subramanian's avatar
      netem: Fail cleanly if user input is wrong · 14a1c164
      Vijay Subramanian authored
      (Resending patch since it looks like my earlier mail did not make it to
      netdev).
      
      netem reordering requires that the delay parameter be given. Currently, if no
      delay is given, tc prints the error message but still installs the qdisc. Fix
      this by printing the usage and failing cleanly.
      Signed-off-by: default avatarVijay Subramanian <subramanian.vijay@gmail.com>
      14a1c164
    • Stephen Hemminger's avatar
      fdeae171
    • Stephen Hemminger's avatar
      ip: make 'ip l' be 'ip link' · 5aa08f6b
      Stephen Hemminger authored
      Restore compatiablity for those lazy typists.
      5aa08f6b
    • Eric Dumazet's avatar
      gred: support TCA_GRED_MAX_P attribute · 1b6f0bb5
      Eric Dumazet authored
      TCA_GRED_MAX_P permits to express high resolution probabilities.
      
      New output (on 3.3+ kernel) :
      
      disc gred 9442: root refcnt 17
       DP:0 (prio 1) Average Queue 0b Measured Queue 0b
      	 Packet drops: 0 (forced 0 early 0)
      	 Packet totals: 20 (bytes 2584)
       limit 31460b min 3000b max 9000b ewma 5 probability 0.05 Scell_log 15
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      1b6f0bb5
    • Eric Dumazet's avatar
      choke: support TCA_CHOKE_MAX_P · 650252d8
      Eric Dumazet authored
      TCA_CHOKE_MAX_P permits to express high resolution RED probability.
      
      tc qdisc add dev $DEV parent 1:1 handle 10: est 1sec 8sec choke \
      	limit 90 ecn min 10 max 30 probability 0.05 bandwidth 10Mbit
      
      Before patch :
      
      tc -s -d qdisc show dev eth3
      qdisc ... limit 90p min 10p max 30p ecn ewma 3 Plog 19 Scell_log 13
      
      After :
      
      qdisc ... limit 90p min 10p max 30p ecn ewma 3 probability 0.05
      Scell_log 13
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      650252d8
    • Eric Dumazet's avatar
      sfq: add optional RED on top of SFQ · 6987ecf0
      Eric Dumazet authored
      Adds an optional Random Early Detection on each SFQ flow queue.
      
      Traditional SFQ limits count of packets, while RED permits to also
      control number of bytes per flow, and adds ECN capability as well.
      
      1) We dont handle the idle time management in this RED implementation,
      since each 'new flow' begins with a null qavg. We really want to address
      backlogged flows.
      
      2) if headdrop is selected, we try to ecn mark first packet instead of
      currently enqueued packet. This gives faster feedback for tcp flows
      compared to traditional RED [ marking the last packet in queue ]
      
      Example of use :
      
      tc qdisc add dev $DEV parent 1:1 handle 10: est 1sec 4sec sfq \
      	limit 3000 headdrop flows 512 divisor 16384 \
      	redflowlimit 100000 min 8000 max 60000 probability 0.20 ecn
      
      qdisc sfq 10: parent 1:1 limit 3000p quantum 1514b depth 127 headdrop
      flows 512/16384 divisor 16384
       ewma 6 min 8000b max 60000b probability 0.2 ecn
       prob_mark 0 prob_mark_head 4876 prob_drop 6131
       forced_mark 0 forced_mark_head 0 forced_drop 0
       Sent 1175211782 bytes 777537 pkt (dropped 6131, overlimits 11007
      requeues 0)
       rate 99483Kbit 8219pps backlog 689392b 456p requeues 0
      
      In this test, with 64 netperf TCP_STREAM sessions, 50% using ECN enabled
      flows, we can see number of packets CE marked is smaller than number of
      drops (for non ECN flows)
      
      If same test is run, without RED, we can check backlog is much bigger.
      
      qdisc sfq 10: parent 1:1 limit 3000p quantum 1514b depth 127 headdrop
      flows 512/16384 divisor 16384
       Sent 1148683617 bytes 795006 pkt (dropped 0, overlimits 0 requeues 0)
       rate 98429Kbit 8521pps backlog 1221290b 841p requeues 0
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      6987ecf0