]> 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)
commitcb91089e455061eea38d6049d1cd31ae58fa8633
treecdc511234c2a9b9cea0ae4b26358d1914bdfd674
parent936c3e595a2470b31ad43f4bc8ae21ad7133a0ad
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