diff options
author | Brian Russell <brian@graphiant.com> | 2021-01-19 16:50:56 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-01-28 10:26:35 +0000 |
commit | 97de8a2d2faad42ff6c36807ec1e21bf9a0d9c91 (patch) | |
tree | 0d29bf8de5d9a6489a8cd485ba25bed0a51152f5 /src/vnet/ip/ip.c | |
parent | baebb22c877d98c891d4d7a20ae23dc07f918edd (diff) |
policer: add policer handoff
Add thread handoff for packets being policed. Note that the handoff
currently requires the policer index to be passed in. This is suitable
for use in the ip[46] punt paths where each policer node will only
ever use a single policer. For the more general case, this will be
expanded in future to use a policer index stored in packet metadata.
Type: improvement
Signed-off-by: Brian Russell <brian@graphiant.com>
Change-Id: I85a0ecbcfb025f8844e763224cd3de1561249aca
Diffstat (limited to 'src/vnet/ip/ip.c')
0 files changed, 0 insertions, 0 deletions