OSDN Git Service

Merge branch 'mlxsw-sampling-fixes'
authorDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:37:26 +0000 (13:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:37:26 +0000 (13:37 -0700)
commitcbc6a2d0aeab67c863030c4572cfeca9cdaf36ee
tree0461107d4a1d322cc3d96f26262e81f1dda8b341
parent32e67c0aea904225fc77bf6edb27d033bec564fb
parent7ede22e6583290c832306e23414cc2c1e336c4b7
Merge branch 'mlxsw-sampling-fixes'

Ido Schimmel says:

====================
mlxsw: Two sampling fixes

This patchset fixes two bugs in recent sampling submissions.

The first fix, in patch #3, prevents matchall rules with sample action
to be added in front of flower rules on egress. Patches #1-#2 are
preparations meant at avoiding similar bugs in the future. Patch #4 is a
selftest.

The second fix, in patch #5, prevents sampling from being enabled on a
port if already enabled. Patch #6 is a selftest.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>