Traffic control mark with nftables

Hi everyone, I am using these rules in nftables on a WRT3200ACM, these rules control all LAN traffic per flow.
With the WRT3200ACM I am connected to my ISP modem that is in bridge mode.
My local network is 10.210.120.32/27 with my wife watching Netflix, my son with the PS4, my daughter watching YouTube and I watching IPTV TV with 106Mbps and 6Mbps, I have not had any problems. and the router is not overloaded, I think it's perfect.
I hope someone tries it and tells about their experience.
Do not try to put these rules in the ingress table, it does not go well, only in the mangle table.

table inet mangle {

    chain PREROUTING {
	type filter hook prerouting priority -150; policy accept;
	    # check default priority
mark & 0xff0 == 0x130 counter ip dscp set af22 return

# real-time application
## Rocket league
udp dport 7000-9000 \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af41 return

## ICMP
ip protocol icmp \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af41 return

## TCP low-flow
meter wan-11-tcp { tcp sport . ip saddr timeout 10s limit rate 8 kbytes/second burst 16 kbytes } \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af42 return

## UDP low-flow
meter wan-11-udp { udp sport . ip saddr timeout 10s limit rate 8 kbytes/second burst 16 kbytes } \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af42 return

# TCP midium-flow
meter wan-12 { tcp sport . ip saddr timeout 3s limit rate 64 kbytes/second burst 512 kbytes } \
meta mark set mark & 0xfffff00f ^ 0x120 counter ip dscp set af31 return

# TCP high-flow & UDP {midium,high}-flow (default)
meta mark set mark & 0xfffff00f ^ 0x130 counter ip dscp set af22

}

chain INPUT {
	type filter hook input priority -150; policy accept;
	    #ct state invalid counter reject 
                tcp flags & (fin|syn|rst|ack) != syn ct state new counter reject
}

chain FORWARD {
	type filter hook forward priority -150; policy accept;
}



chain POSTROUTING {
	type filter hook postrouting priority -150; policy accept;
	    mark & 0xff0 == 0x130 counter ip dscp set af23 return

# internal traffic
ip saddr 10.210.120.32/27 \
meta mark set mark & 0xfffff00f ^ 0x200 counter ip dscp set af21 return

# real-time application
## Rocket league
udp sport 7000-9000 \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af41 return

## ICMP
ip protocol icmp \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af41 return

## TCP low-flow
mark & 0xff0 != 0x120 \
meter lan-11-tcp { tcp dport . ip daddr timeout 10s limit rate 16 kbytes/second burst 32 kbytes } \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af42 return

## UDP low-flow
mark & 0xff0 != 0x120 \
meter lan-11-udp { udp dport . ip daddr timeout 10s limit rate 16 kbytes/second burst 32 kbytes } \
meta mark set mark & 0xfffff00f ^ 0x110 counter ip dscp set af42 return

# TCP midium-flow
meter lan-12 { tcp dport . ip daddr timeout 3s limit rate 512 kbytes/second burst 2 mbytes } \
meta mark set mark & 0xfffff00f ^ 0x120 counter ip dscp set af31 return

# TCP high-flow & UDP {midium,high}-flow (default)
meta mark set mark & 0xfffff00f ^ 0x130 counter ip dscp set af23
}

}

Sorry for my English