1. 18 Jan, 2016 5 commits
    • Daniel Borkmann's avatar
      tc, clsact: add clsact frontend · 8f9afdd5
      Daniel Borkmann authored
      Add the tc part for the kernel commit 1f211a1b929c ("net, sched: add
      clsact qdisc"). Quoting example usage from that commit description:
      
        Example, adding qdisc:
      
        # tc qdisc add dev foo clsact
        # tc qdisc show dev foo
        qdisc mq 0: root
        qdisc pfifo_fast 0: parent :1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
        qdisc pfifo_fast 0: parent :2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
        qdisc pfifo_fast 0: parent :3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
        qdisc pfifo_fast 0: parent :4 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
        qdisc clsact ffff: parent ffff:fff1
      
        Adding filters (deleting, etc works analogous by specifying ingress/egress):
      
        # tc filter add dev foo ingress bpf da obj bar.o sec ingress
        # tc filter add dev foo egress  bpf da obj bar.o sec egress
        # tc filter show dev foo ingress
        filter protocol all pref 49152 bpf
        filter protocol all pref 49152 bpf handle 0x1 bar.o:[ingress] direct-action
        # tc filter show dev foo egress
        filter protocol all pref 49152 bpf
        filter protocol all pref 49152 bpf handle 0x1 bar.o:[egress] direct-action
      
      The ingress parent alias can also be used with ingress qdisc.
      Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
      8f9afdd5
    • Daniel Borkmann's avatar
      tc, ingress: clean up ingress handling a bit · 0d45c4b4
      Daniel Borkmann authored
      Clean it up a bit, we can also get rid of some ugly ifdefs as in our case
      TC_H_INGRESS is always defined.
      Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
      0d45c4b4
    • Stephen Hemminger's avatar
      update headers (post 4.4 merge window) · 7321b7db
      Stephen Hemminger authored
      7321b7db
    • Stephen Hemminger's avatar
      Merge branch 'net-next' · 2505780c
      Stephen Hemminger authored
      2505780c
    • Stephen Hemminger's avatar
      Revert "tc: fix compilation with old gcc (< 4.6)" · bc223ab8
      Stephen Hemminger authored
      This reverts commit 8f80d450.
      bc223ab8
  2. 11 Jan, 2016 6 commits
  3. 07 Jan, 2016 1 commit
  4. 06 Jan, 2016 7 commits
  5. 03 Jan, 2016 1 commit
  6. 31 Dec, 2015 4 commits
  7. 30 Dec, 2015 2 commits
  8. 22 Dec, 2015 3 commits
  9. 18 Dec, 2015 11 commits