]> 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)
commit6add89a0887e5b89e12e14eb9b0fb0e6d4c76e33
tree320ecba7883bf47518249ae4d65b0f33d5ce26d5
parent37ebee53fcba43bf02902751e8eb0f52f7ff8493
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