Merge branch 'mlxsw-fixes'

Ido Schimmel says:

mlxsw: Couple of fixes

This patch set contains two fixes for mlxsw. Please consider both for

Patch #1 from Amit fixes a wrong check during MAC validation when
creating router interfaces (RIFs). Given a particular order of
configuration this can result in the driver refusing to create new RIFs.

Patch #2 fixes a wrong trap configuration in which VRRP packets and
routing exceptions were policed by the same policer towards the CPU. In
certain situations this can prevent VRRP packets from reaching the CPU.

Signed-off-by: David S. Miller <>