mlxsw: reg: Extend mlxsw_reg_mpat_pack()
authorPetr Machata <[email protected]>
Tue, 27 Feb 2018 13:53:40 +0000 (14:53 +0100)
committerDavid S. Miller <[email protected]>
Tue, 27 Feb 2018 19:46:26 +0000 (14:46 -0500)
commit1da93eb466dc6f8a92e0316fd983ee8a3338db4c
treea6b2229e9867b25e56f94835860f276a6dd8fc13
parent0d6cd3fcbc0222234c7f91c7f3e57d34fc009714
mlxsw: reg: Extend mlxsw_reg_mpat_pack()

To support encapsulated SPAN, extend mlxsw_reg_mpat_pack() with a field
to set the SPAN type.

Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlxsw/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c