1. 13 Aug, 2012 4 commits
    • Florian Westphal's avatar
      add ematch man page · c487348a
      Florian Westphal authored
      c487348a
    • Florian Westphal's avatar
      tc: add ipset ematch · 8194411a
      Florian Westphal authored
      example usage:
      tc filter add dev $dev parent $id: basic match not ipset'(foobar src)' ..
      
      also updates iproute2/ematch_map, else tc complains:
      Error: Unable to find ematch "ipset" in /etc/iproute2/ematch_map
      Please assign a unique ID to the ematch kind the suggested entry is:
              8       ipset
      
      when trying to use this ematch.
      
      (text ematch (5) only exists in kernel, a vlan ematch (6) exists neither in
       kernel nor userspace, but kernel headers define TCF_EM_VLAN == 6).
      8194411a
    • Mike Frysinger's avatar
      Fix regression with 'ip address show' · af9d406f
      Mike Frysinger authored
      `ip a s` no longer shows addresses since 3.4.0 works, but 3.5.0,
      
      the simple test case:
      make clean && make -j -s && ./ip/ip a s lo
      
      before that change, i would get:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      
      but after, i now get:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      
      seems like the bug was introduced in the middle of that patch:
      
      -	if (filter.family != AF_PACKET) {
      +	if (filter.family && filter.family != AF_PACKET) {
      +		if (filter.oneline)
      +			no_link = 1;
      +
       		if (rtnl_wilddump_request(&rth, filter.family, RTM_GETADDR) < 0) {
       			perror("Cannot send dump request");
       			exit(1);
      
      if i revert the change to the if statement there, `ip a s` works for me again.
      af9d406f
    • Xose Vazquez Perez's avatar
      Fix Makefile's · 6d10827c
      Xose Vazquez Perez authored
      Missing space in man8 Makefile and install bridge command with
      correct name
      6d10827c
  2. 01 Aug, 2012 9 commits
  3. 31 Jul, 2012 1 commit
  4. 26 Jul, 2012 1 commit
  5. 13 Jul, 2012 2 commits
  6. 12 Jul, 2012 1 commit
  7. 11 Jul, 2012 1 commit
  8. 10 Jul, 2012 3 commits
  9. 18 Jun, 2012 2 commits
  10. 11 Jun, 2012 3 commits
  11. 04 Jun, 2012 1 commit
  12. 29 May, 2012 2 commits
    • Bjarni Ingi Gislason's avatar
      tc-drr(8): tab unquoted in a argument to a macro · d18086cc
      Bjarni Ingi Gislason authored
      <groff: tc-drr.8>:67: warning: tab character in unquoted macro argument
      <groff: tc-drr.8>:69: warning: tab character in unquoted macro argument
      
      *********************
      
      Originally filed at: http://bugs.debian.org/674706Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
      d18086cc
    • Bjarni Ingi Gislason's avatar
      tc(8): Negative indent and missing "-" after an escape · 7c34520b
      Bjarni Ingi Gislason authored
      <groff: tc.8>:51: warning: total indent cannot be negative
      <groff: tc.8>:57: warning: escape character ignored before `i'
      
      *********************
      
      Space at end of line removed
      
        General considerations
      
      a) Manuals should usually only be left justified.  Use ".ad l"
      as the first regular command.
      
      b) Each sentence should begin on a new line.  The conventions
      about the amount of space between sentences are different.  This
      also makes a check on the number of space characters between
      words easier.
      
      c) Separate numbers from units with a (no-break) space.  A
      no-break space can be code 0xA0, "\ " (\<space>), or "\~"
      (groff).
      
      d) Use macros "TS/TE" for tables with more than two columns.
      Then use
      
      '\" t
      
      as the first line in the source to tell "man" to use the "tbl"
      preprocessor.
      
      e) Protect last period (full stop) in abbreviations with "\&",
      if it is or might be (through new formatting of source) at the
      end of line, if it is also not an end of sentence.
      
      *********************
      
      Originally filed at: http://bugs.debian.org/674704Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
      7c34520b
  13. 25 May, 2012 1 commit
  14. 24 May, 2012 2 commits
  15. 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