qos-scripts: fix ingress packet marking with ifb
authorFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jul 2014 12:02:06 +0000 (12:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jul 2014 12:02:06 +0000 (12:02 +0000)
commit0b2a2f93dfc14b8eb4ded87a45dc790c4ea980fa
tree250b70a8081e73f6e3ebc5cb00cdc1c447e02cac
parentfc41c343df1dbdba26a5e6e3783f659492579ef3
qos-scripts: fix ingress packet marking with ifb

Split connection mark into two parts:

The lower nibble contains the confirmed conntrack mark which is not
generated by default/reclassify rules.
The upper nibble contains the current value specified by
default/reclassify rules.

For egress, the default/reclassify value is preferred
For ingress, the connection mark is preferred

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41682 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
package/network/config/qos-scripts/files/usr/lib/qos/tcrules.awk