1. 24 May, 2012 1 commit
  2. 22 May, 2012 7 commits
    • Chris Elston's avatar
      iproute2: allow IPv6 addresses for l2tp local and remote parameters · 6618e334
      Chris Elston authored
      Adds support for parsing IPv6 addresses to the parameters local and
      remote in the l2tp commands. Requires netlink attributes L2TP_ATTR_IP6_SADDR
      and L2TP_ATTR_IP6_DADDR, added in a required kernel patch already submitted
      to netdev.
      
      Also enables printing of IPv6 addresses returned by the L2TP_CMD_TUNNEL_GET
      request.
      Signed-off-by: default avatarChris Elston <celston@katalix.com>
      Signed-off-by: default avatarJames Chapman <jchapman@katalix.com>
      6618e334
    • Eric Dumazet's avatar
      fq_codel: Fair Queue Codel AQM · c3524efc
      Eric Dumazet authored
      Fair Queue Codel packet scheduler
      
      Principles :
      
      - Packets are classified (internal classifier or external) on flows.
      - This is a Stochastic model (as we use a hash, several flows might
                                    be hashed on same slot)
      - Each flow has a CoDel managed queue.
      - Flows are linked onto two (Round Robin) lists,
        so that new flows have priority on old ones.
      
      - For a given flow, packets are not reordered (CoDel uses a FIFO)
      - head drops only.
      - ECN capability is on by default.
      - Very low memory footprint (64 bytes per flow)
      
      tc qdisc ... fq_codel [ limit PACKETS ] [ flows number ]
                            [ target TIME ] [ interval TIME ] [ noecn ]
                            [ quantum BYTES ]
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Dave Taht <dave.taht@bufferbloat.net>
      Cc: Kathleen Nichols <nichols@pollere.com>
      Cc: Van Jacobson <van@pollere.net>
      Cc: Tom Herbert <therbert@google.com>
      Cc: Matt Mathis <mattmathis@google.com>
      Cc: Nandita Dukkipati <nanditad@google.com>
      Cc: Maciej Żenczykowski <maze@google.com>
      Cc: Yuchung Cheng <ycheng@google.com>
      Cc: Stephen Hemminger <shemminger@vyatta.com>
      Cc: Changli Gao <xiaosuo@gmail.com>
      c3524efc
    • Eric Dumazet's avatar
      tc_codel: Controlled Delay AQM · 185d88f9
      Eric Dumazet authored
      An implementation of CoDel AQM, from Kathleen Nichols and Van Jacobson.
      
      http://queue.acm.org/detail.cfm?id=2209336
      
      This AQM main input is no longer queue size in bytes or packets, but the
      delay packets stay in (FIFO) queue.
      
      As we don't have infinite memory, we still can drop packets in enqueue()
      in case of massive load, but mean of CoDel is to drop packets in
      dequeue(), using a control law based on two simple parameters :
      
      target : target sojourn time (default 5ms)
      interval : width of moving time window (default 100ms)
      
      Selected packets are dropped, unless ECN is enabled and packets can get
      ECN mark instead.
      
      Usage: tc qdisc ... codel [ limit PACKETS ] [ target TIME ]
                                [ interval TIME ] [ ecn ]
      
      qdisc codel 10: parent 1:1 limit 2000p target 3.0ms interval 60.0ms ecn
       Sent 13347099587 bytes 8815805 pkt (dropped 0, overlimits 0 requeues 0)
       rate 202365Kbit 16708pps backlog 113550b 75p requeues 0
        count 116 lastcount 98 ldelay 4.3ms dropping drop_next 816us
        maxpacket 1514 ecn_mark 84399 drop_overlimit 0
      
      CoDel must be seen as a base module, and should be used keeping in mind
      there is still a FIFO queue. So a typical setup will probably need a
      hierarchy of several qdiscs and packet classifiers to be able to meet
      whatever constraints a user might have.
      
      One possible example would be to use fq_codel, which combines Fair
      Queueing and CoDel, in replacement of sfq / sfq_red.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDave Taht <dave.taht@bufferbloat.net>
      185d88f9
    • Vijay Subramanian's avatar
      tc-netem: Add support for ECN packet marking · 1070205d
      Vijay Subramanian authored
      This patch provides support for marking packets with ECN instead of
      dropping them with netem. This makes it possible to make use of the
      netem ECN marking feature that was added recently to the kernel.
      Signed-off-by: default avatarVijay Subramanian <subramanian.vijay@gmail.com>
      1070205d
    • Vijay Subramanian's avatar
      Update tc-netem manpage to add ecn capability · 82613f92
      Vijay Subramanian authored
      This patch updates the netem manpage to describe how to use
      netem to mark packets with ecn instead of dropping them.
      Signed-off-by: default avatarVijay Subramanian <subramanian.vijay@gmail.com>
      82613f92
    • Stephen Hemminger's avatar
      Remove derived man pages · e419f2d6
      Stephen Hemminger authored
      These man pages are now built from templates
      e419f2d6
    • Stephen Hemminger's avatar
      Update headers to 3.5 merge window · 5e4dc84f
      Stephen Hemminger authored
      Use sanitized version of kernel headers from 3.5 pre-rc1 merge
      5e4dc84f
  3. 21 May, 2012 3 commits
    • Andreas Henriksson's avatar
      iproute2: man page and /bin/ip disagree on del vs delete · 6e30461e
      Andreas Henriksson authored
      Reported by Robert Henney:
      > the 'ip' man page does not mention the command "del" at all but does
      > claim, "As a rule, it is possible to add, delete and show (or list ) objects".
      > however, 'ip' does not always recognize "delete" as a commend.
      >
      > robh@debian:~$ ip tunnel delete
      > Command "delete" is unknown, try "ip tunnel help".
      
      Lets use "delete" in all calls to matches() for consistency. This will
      make both "del" and "delete" work everywhere.
      Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
      6e30461e
    • Stephen Hemminger's avatar
      v3.4.0 · db70d91c
      Stephen Hemminger authored
      db70d91c
    • Andreas Henriksson's avatar
      iproute2: trivial fix of ip link syntax in manpage · 9fc56974
      Andreas Henriksson authored
      Reported by Ivan Vilata i Balaguer <ivan@selidor.net>
      found that the description of the `ip link add` command in the manpage
      is outdated regarding the compulsory `link DEVICE` option.
      For instance, `ip  link help` says:
          Usage: ip link add [link DEV] [ name ] NAME
           ...
      But the manpage still says:
           ip link add link DEVICE [ name ] NAME
      
      (Trying to provide a `link` option e.g. under an LXC container can frustrate
       the creation of dummy devices which don't need an actual device.)
      
      The syntax of the "ip link help" output was fixed in commit
      "iproute2: Fix usage and man page for 'ip link'" (a22e9295).
      This updates the manpage to mark "link DEVICE" as an optional
      argument there as well.
      
        http://bugs.debian.org/673171Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
      9fc56974
  4. 03 May, 2012 3 commits
  5. 26 Apr, 2012 1 commit
  6. 25 Apr, 2012 1 commit
  7. 12 Apr, 2012 5 commits
  8. 10 Apr, 2012 5 commits
  9. 05 Apr, 2012 2 commits
  10. 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
  11. 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
  12. 16 Mar, 2012 1 commit
  13. 15 Mar, 2012 4 commits
  14. 14 Mar, 2012 3 commits