On 16-08-29 11:55 AM, Jesper Dangaard Brouer wrote:
tc filter add dev mlx5p2 parent ffff: prio 4 protocol ip u32 match ip protocol 17 0xff match udp dst 9 0xffff flowid 1:1 action
Syntax is a little more convoluted than that ;->. Try: sudo tc filter add dev eth0 parent ffff: prio 4 protocol ip u32 \ match ip protocol 17 0xff \ match ip dport 1900 0xffff \ flowid 1:1 \ action drop Note, this will be more cycles than drop all. cheers, jamal