1. 09 Oct, 2014 13 commits
  2. 29 Sep, 2014 4 commits
    • vadimk's avatar
      ip netns: Create /var/run/netns dir when do 'ip netns monitor' · c1cbb18a
      vadimk authored
      netns monitor fails when there is no /var/run/netns dir
      which might be created later while monitoring.
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      c1cbb18a
    • vadimk's avatar
      tests: Fix problem with test running · 9ecff68d
      vadimk authored
      Tests were not allowed to be ran, the following
      issues were fixed:
          - creating the results folder before test running
          - sudo $PREFIX moved before variables definition which
              allow to pass them through the sudo to test script.
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      9ecff68d
    • Jamal Hadi Salim's avatar
      rsvp classifier support for multiple actions · 10f5a375
      Jamal Hadi Salim authored
      Example setup:
      
      sudo tc qdisc del dev eth0 root handle 1:0 prio
      sudo tc qdisc add dev eth0 root handle 1:0 prio
      
      sudo tc filter add dev eth0 pref 10 proto ip parent 1:0 \
      rsvp session 10.0.0.1 ipproto icmp \
      classid 1:1  \
      action police rate 1kbit burst 90k pipe \
      action ok
      
      tc -s filter show dev eth0 parent 1:0
      
      filter protocol ip pref 10 rsvp
      filter protocol ip pref 10 rsvp fh 0x0001100a flowid 1:1 session
      10.0.0.1 ipproto icmp
              action order 1:  police 0x5 rate 1Kbit burst 23440b mtu 2Kb
      action pipe overhead 0b
      ref 1 bind 1
              Action statistics:
              Sent 98000 bytes 1000 pkt (dropped 0, overlimits 761 requeues 0)
              backlog 0b 0p requeues 0
      
              action order 2: gact action pass
               random type none pass val 0
               index 2 ref 1 bind 1 installed 60 sec used 3 sec
              Action statistics:
              Sent 74578 bytes 761 pkt (dropped 0, overlimits 0 requeues 0)
              backlog 0b 0p requeues 0
      Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
      Tested-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
      10f5a375
    • Jamal Hadi Salim's avatar
      actions: BugFix action stats to display with -s · 954de6c7
      Jamal Hadi Salim authored
      Was broken by commit 288abf51
      Lets not be too clever and have a separate call to print flushed
      actions info.
      
      Broken looks like:
      root@moja-1:~# tc actions add  action drop index 4
      root@moja-1:~# tc -s actions ls action gact
      
          action order 0: gact action drop
           random type none pass val 0
           index 4 ref 1 bind 0 installed 9 sec used 4 sec
      
      The fixed version looks like:
          action order 0: gact action drop
           random type none pass val 0
           index 4 ref 1 bind 0 installed 9 sec used 4 sec
               Sent 108948 bytes 1297 pkts (dropped 1297, overlimits 0)
      Signed-off-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
      954de6c7
  3. 28 Sep, 2014 12 commits
  4. 15 Sep, 2014 1 commit
    • Stephen Hemminger's avatar
      update dsfield file values · eb5d01ff
      Stephen Hemminger authored
      Update the rt_dsfield file to contain values defined in current RFC.
      The days of TOS precedence are gone, even Cisco doesn't refer
      to these in the documents.
      eb5d01ff
  5. 04 Sep, 2014 2 commits
  6. 29 Aug, 2014 3 commits
  7. 04 Aug, 2014 5 commits