]> 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)
commit7cc16272b23d760a0c688313636b9b7ad49f63ef
tree594ab2b374cd977ac4ccb04ec926a36b20f12a46
parented3b4a4dd7c636dcc72a5ab9c248cccf05eef511
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