1. 06 Feb, 2012 1 commit
  2. 30 Jan, 2012 1 commit
  3. 24 Jan, 2012 4 commits
  4. 20 Jan, 2012 10 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
    • Eric Dumazet's avatar
      54a2fce8
  5. 19 Jan, 2012 7 commits
  6. 10 Jan, 2012 3 commits
    • Stephen Hemminger's avatar
      Update to kernel v3.3 headers · a08d2590
      Stephen Hemminger authored
      Initial merge window version of headers
      a08d2590
    • Stephen Hemminger's avatar
      Fix man page whatis entry errors · aab2702d
      Stephen Hemminger authored
      lintian says:
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man7/tc-hfsc.7.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-address.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-addrlabel.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-link.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-maddress.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-monitor.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-mroute.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-neighbour.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-netns.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-ntable.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-route.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-rule.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-tunnel.8.gz
      W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-xfrm.8.gz
      aab2702d
    • Stephen Hemminger's avatar
      iplt2p: remove unused libnl headers · 13603f6a
      Stephen Hemminger authored
      Leftover from change to original code.
      13603f6a
  7. 05 Jan, 2012 1 commit
  8. 03 Jan, 2012 6 commits
    • Jan Engelhardt's avatar
      iproute2: fix calling up the xt action · 8e91a80d
      Jan Engelhardt authored
      Upsteam: has not been sent yet
      
      Requesting the xt action never succeeded because it registered
      using the wrong name.
      8e91a80d
    • Jan Engelhardt's avatar
      iproute2: proper detection of libxtables position and flags · d7aa57d4
      Jan Engelhardt authored
      Upstream: not sent yet
      
      Any tests involving iptables _MUST_ utilize pkg-config to find the
      proper locations of the installation.
      d7aa57d4
    • Stephen Hemminger's avatar
      README cleanup's · 6c513a00
      Stephen Hemminger authored
      Spell check the README files and remove out of date release notes.
      6c513a00
    • Stephen Hemminger's avatar
      ematch: fix warning about unused input() · 155ad802
      Stephen Hemminger authored
      Use existing compile flag to indicate that input() is not used
      by tc ematch, fixes compiler warning.
      155ad802
    • Stephen Hemminger's avatar
      ematch: fix warning about yyerror and const · 5761f04f
      Stephen Hemminger authored
      yyerror() should take const char * on current bison.
      5761f04f
    • Jan Engelhardt's avatar
      iproute2: avoid use of implicit declarations · f5b830dc
      Jan Engelhardt authored
      gcc -DLIBDIR=\"/usr/lib64\" -D_GNU_SOURCE -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\"/usr/lib64/xtables\" -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib64\" -fPIC   -c -o ipx_pton.o ipx_pton.c
      In file included from ../include/utils.h:8:0,
                       from ipx_ntop.c:5:
      ../include/libnetlink.h: In function 'rta_getattr_u64':
      ../include/libnetlink.h:84:2: warning: implicit declaration of function 'memcpy'
      ../include/libnetlink.h:84:2: warning: incompatible implicit declaration of built-in function 'memcpy'
      f5b830dc
  9. 29 Dec, 2011 2 commits
  10. 28 Dec, 2011 1 commit
    • Stephen Hemminger's avatar
      libnetlink: remove unused junk callback · cd70f3f5
      Stephen Hemminger authored
      Both rtnl_talk and rtnl_dump had a callback for handling portions
      of netlink message that do not match the correct pid or seq.
      But this callback was never used by any part of iproute2 so remove
      it.
      cd70f3f5
  11. 24 Dec, 2011 1 commit
  12. 23 Dec, 2011 3 commits