]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Use dedicated trap group for sampled packets
authorIdo Schimmel <idosch@mellanox.com>
Sun, 24 May 2020 21:51:06 +0000 (00:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2020 02:32:23 +0000 (19:32 -0700)
commitccfb0978417e3b377fd93454f827a3a8cb226183
tree320ecba7883bf47518249ae4d65b0f33d5ce26d5
parente8174d9f6e136aa9f81acd8e19abd87991f4ec5a
mlxsw: spectrum: Use dedicated trap group for sampled packets

The rate with which packets are sampled is determined by user space, so
there is no need to associate such packets with a policer.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.c