X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fvnet%2Fpolicer%2Fpolicer.api;h=c3b8d7cd0610f4160f48e08f91632a69e1bae528;hb=48e26367c;hp=946cc357b80e48b9b857d986b5825d994607c998;hpb=fd0b399ff6dc246ce989cb592cf27d0015497711;p=vpp.git diff --git a/src/vnet/policer/policer.api b/src/vnet/policer/policer.api index 946cc357b80..c3b8d7cd061 100644 --- a/src/vnet/policer/policer.api +++ b/src/vnet/policer/policer.api @@ -17,6 +17,23 @@ option version = "2.0.0"; import "vnet/policer/policer_types.api"; +/** \brief policer bind: Associate/disassociate a policer with a worker thread. + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param name - policer name to bind + @param worker_index - the worker thread to bind to + @param bind_enable - Associate/disassociate +*/ +autoreply define policer_bind +{ + u32 client_index; + u32 context; + + string name[64]; + u32 worker_index; + bool bind_enable; +}; + /** \brief Add/del policer @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request