]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit944d6399ca1f2b5b14d0ba07f1161fe194c3c895
treecdc511234c2a9b9cea0ae4b26358d1914bdfd674
parent1fd68faa7c5a4a1ce66f823fa153515d9a5f5bf3
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