]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Add API to set trap action
authorIdo Schimmel <idosch@mellanox.com>
Wed, 21 Aug 2019 07:19:31 +0000 (10:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2019 19:58:39 +0000 (12:58 -0700)
commit4eccd5507f0bd120cec187037c4d5aec55cc701c
treed8189f1198694c5ca984d450cb444a40f14ba19e
parent5f06c1972560abf7f20211dcc8b6b77fb1b40c9b
mlxsw: core: Add API to set trap action

Up until now the action of a trap was never changed during its lifetime.
This is going to change by subsequent patches that will allow devlink to
control the action of certain traps.

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