mlxsw: reg: Add SPAN encapsulation to MPAT register
authorPetr Machata <petrm@mellanox.com>
Tue, 27 Feb 2018 13:53:39 +0000 (14:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 19:46:26 +0000 (14:46 -0500)
commit0d6cd3fcbc0222234c7f91c7f3e57d34fc009714
tree8f9b43d43f8a6bd0bb478279c7e5f400780e0648
parentb0066da52ea53bae2b4ceed3f47d488df27dab66
mlxsw: reg: Add SPAN encapsulation to MPAT register

MPAT Register is used to query and configure the Switch Port Analyzer
Table. To configure Port Analyzer to encapsulate mirrored packets,
additional fields need to be specified for the MPAT register.

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