X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=README.iproute2%2Btc;h=e7bb48ce2a68f5e4ade8031b0924538abed689e4;hb=dc0332b1e8e4ab8771562128993d512986f856e2;hp=edd79c0ec1e696ed8f3a8e175ad17c337f428d47;hpb=aba5acdfdb347d2c21fc67d613d83d4430ca3937;p=mirror_iproute2.git diff --git a/README.iproute2+tc b/README.iproute2+tc index edd79c0e..e7bb48ce 100644 --- a/README.iproute2+tc +++ b/README.iproute2+tc @@ -42,12 +42,12 @@ in rsvp/cbqinit.eth1. Terminology and advices about setting CBQ parameters may be found in Sally Floyd -papers. +papers. -Pairs X:Y are class handles, X:0 are qdisc heandles. +Pairs X:Y are class handles, X:0 are qdisc handles. weight should be proportional to rate for leaf classes -(I choosed it ten times less, but it is not necessary) +(I repeated it ten times less, but it is not necessary) defmap is bitmap of logical priorities served by this class. @@ -72,12 +72,16 @@ ip route add 10.11.12.0/24 dev eth1 via whatever realm 1 etc. The same thing can be made with rules. I still did not test ipchains, but they should work too. + +Setup and code example of BPF classifier and action can be found under +examples/bpf/, which should explain everything for getting started. + + Setup of rsvp and u32 classifiers is more hairy. If you read RSVP specs, you will understand how rsvp classifier works easily. What's about u32... That's example: - #! /bin/sh TC=/home/root/tc