Lines Matching full:dscp

4 # Test for DSCP prioritization in the router.
7 # their DSCP (which in this test uses only values 0..7) intact as they are
9 # with the same DSCP as the requests, and likewise pass through the switch
13 # according to the table in reprioritize(). Thus, say, DSCP 7 maps to priority
14 # 4, which on egress maps back to DSCP 4. The response packet then gets
15 # reprioritized to 6, getting DSCP 6 on egress.
105 dcb app add dev $swp1 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
106 dcb app add dev $swp2 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
111 dcb app del dev $swp2 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
112 dcb app del dev $swp1 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
168 local dscp=$((prio << 2)) # ICMP Request ingress DSCP
169 local dscp2=$((prio2 << 2)) # ICMP Request egress DSCP
170 local dscp3=$((prio3 << 2)) # ICMP Response egress DSCP
179 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
199 check_err $? "DSCP $dscpi@$dev2: Expected to capture $expect2 packets, got $delta."
203 check_err $? "DSCP $dscpi@$dev1: Expected to capture $expect3 packets, got $delta."
206 log_test "DSCP rewrite: $dscp-(prio $prio2)-$dscp2-(prio $prio3)-$dscp3"
235 # Test that when DSCP is updated in pedit, the DSCP rewrite is turned off.
238 echo "Test no DSCP rewrite after DSCP is updated by pedit"
249 # Test that when the last APP rule is removed, the prio->DSCP map is properly
253 echo "Test that last removed DSCP rule is deconfigured correctly"
255 dcb app del dev $swp2 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
259 dcb app add dev $swp2 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7