Searched hist:d85be0f5fd7c9e7aaf4a1e50cd65d447377eeb49 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_trap.c | diff d85be0f5fd7c9e7aaf4a1e50cd65d447377eeb49 Tue Nov 08 11:47:11 CET 2022 Ido Schimmel <idosch@nvidia.com> mlxsw: spectrum_trap: Register 802.1X packet traps with devlink
Register the previously added packet traps with devlink. This allows user space to tune their policers and in the case of the locked port trap, user space can set its action to "trap" in order to gain visibility into packets that were discarded by the device due to the locked port check failure.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | trap.h | diff d85be0f5fd7c9e7aaf4a1e50cd65d447377eeb49 Tue Nov 08 11:47:11 CET 2022 Ido Schimmel <idosch@nvidia.com> mlxsw: spectrum_trap: Register 802.1X packet traps with devlink
Register the previously added packet traps with devlink. This allows user space to tune their policers and in the case of the locked port trap, user space can set its action to "trap" in order to gain visibility into packets that were discarded by the device due to the locked port check failure.
Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|