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)
commit0677d6828b039bdccc6161a4ea6ae715489dca7e
treee61672ad6513fb81cbc2047f1e49ade21ce91363
parent5c5670fae43027778e84b9d9ff3b9d91a10a8131
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