mlxsw: spectrum_trap: Register ACL control traps
authorIdo Schimmel <idosch@mellanox.com>
Fri, 29 May 2020 18:36:48 +0000 (21:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:49:23 +0000 (11:49 -0700)
commit88e2774961d7854628fa9c403166c4162cebc12e
treecdc511234c2a9b9cea0ae4b26358d1914bdfd674
parent8110668ecd9a9e704b9b412302e76a9c6e1f4ce2
mlxsw: spectrum_trap: Register ACL control traps

In a similar fashion to other control traps, register ACL control traps
with devlink.

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