OSDN Git Service

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)
commit22849b5ea5952d853547cc5e0651f34a246b2a4f
tree594ab2b374cd977ac4ccb04ec926a36b20f12a46
parent99ad92eff76491331a90d839dd6b7225cf8dd53e
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