]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: add the Monitoring Packet Sampling Configuration Register
authorYotam Gigi <yotamg@mellanox.com>
Mon, 23 Jan 2017 10:07:10 +0000 (11:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 18:44:28 +0000 (13:44 -0500)
commited938be87231c1c0d924c95e9e533523b62cade8
treee61672ad6513fb81cbc2047f1e49ade21ce91363
parent00966d13ecc3f4508ad1fd748d87450a8829764d
mlxsw: reg: add the Monitoring Packet Sampling Configuration Register

The MPSC register allows to configure ingress packet sampling on specific
port of the mlxsw device. The sampled packets are then trapped via
PKT_SAMPLE trap.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h