qos-scripts: fix ingress packet marking with ifb
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Jul 2014 12:02:06 +0000 (12:02 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Jul 2014 12:02:06 +0000 (12:02 +0000)
commit5e914350f80f985e8915996410e4e9bbd5e2e5ff
tree250b70a8081e73f6e3ebc5cb00cdc1c447e02cac
parent0435a4402e07ae13324afa759e56395f73ecb32d
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