]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: Remove not-executed trap policer notifications
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 21 Oct 2021 14:16:14 +0000 (17:16 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Oct 2021 23:15:41 +0000 (16:15 -0700)
commitd38b7a612da9f8f1f10ccc0cb94e0676ad53de50
tree594ab2b374cd977ac4ccb04ec926a36b20f12a46
parenta6ae4c2da79163d468b4b05cfb9030941aa08f0f
devlink: Remove not-executed trap policer notifications

The trap policer logic is registered before devlink_register() and all the
notifications are delayed. This patch removes not-possible notifications
along with addition of code annotation logic.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devlink.c