As of right now, protocols can only be matched by protocol id in T4284.
There is no protocol -> id translation taking place and the tc commands end up being invalid.
set qos policy shaper test class 2 match icmpv4 ip protocol icmp
ends up failing with:
cmd 'tc filter replace dev eth0 parent 1: protocol all u32 match ip protocol **icmp** 0xff action police rate 60000000 burst 16kb flowid 1:2' returned (out): returned (err): Illegal "match"