policer: add api to bind policer to worker 21/31221/3
authorBrian Russell <brian@graphiant.com>
Wed, 10 Feb 2021 13:53:42 +0000 (13:53 +0000)
committerNeale Ranns <neale@graphiant.com>
Mon, 15 Feb 2021 12:15:32 +0000 (12:15 +0000)
commit48e26367cfe731d31472e18c1e0f6fe94bc4e9c3
tree02216ea7b487311f7c947e7d3e15cebb5e3144f1
parentfd0b399ff6dc246ce989cb592cf27d0015497711
policer: add api to bind policer to worker

Add a new api to allow a policer to be bound to
a specific worker thread for thread handoff.

Type: improvement
Signed-off-by: Brian Russell <brian@graphiant.com>
Change-Id: I2623a6827843c3d93c0d7b4ad7c2e13611ec1696
src/vnet/policer/policer.api
src/vnet/policer/policer.c
src/vnet/policer/policer.h
src/vnet/policer/policer_api.c