From: Ido Schimmel <ido...@idosch.org> Date: Fri, 29 May 2020 21:36:35 +0300
> So far device drivers were only able to register drop and exception > packet traps with devlink. These traps are used for packets that were > either dropped by the underlying device or encountered an exception > (e.g., missing neighbour entry) during forwarding. > > However, in the steady state, the majority of the packets being trapped > to the CPU are packets that are required for the correct functioning of > the control plane. For example, ARP request and IGMP query packets. > > This patch set allows device drivers to register such control traps with > devlink and expose their default control plane policy to user space. > User space can then tune the packet trap policer settings according to > its needs, as with existing packet traps. ... Series applied, thank you.