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)
commit4ef8d2e014e377895e55ad1bd2e5eb2cef092e66
treec2cc92cc78000eb3b50bcce59fadd47c53186007
parentf44d3f99803be7ba5c38b26a2d8cbda1c301e893
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>
SVN-Revision: 41682
package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
package/network/config/qos-scripts/files/usr/lib/qos/tcrules.awk