]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1f10b3ac3af3e6a99b22aaf84d2a80d2589f187
tree0461107d4a1d322cc3d96f26262e81f1dda8b341
parentb0b89bf10cb6c477eee41b3845f5f49f63cd1428
parent9f676264c448ceb84f15924d0271fe69bdaf9b53
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>