summaryrefslogtreecommitdiffstats
path: root/src/vnet/classify/policer_classify.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2022-12-01 15:58:36 +0100
committerNeale Ranns <neale@graphiant.com>2022-12-07 03:02:46 +0000
commitbd9cde810b9aa0a9ee59d10aee91bc313318f042 (patch)
tree323234418503703ac3cfaddf5138b0d8500cde3a /src/vnet/classify/policer_classify.h
parent0e79abbe2e4183fe32400bdfcbe0465a8f536ea1 (diff)
classify: increase metadata from 16- to 32-bits
The metadata in classifier entries is used to index a fib or a dpo in the acl nodes which can exceeds UINT16_MAX in large configurations. To maintain entries size and alignment, decrease next_index from 32- to 16-bits: next_index should not exceed 16-bits in VPP, as it is already shown by vlib_buffer_enqueue_to_next() or dpo_id_t.dpoi_next_node. Type: fix Change-Id: I4fd1b3cd495319420044c219036b2d2ea952270a Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/classify/policer_classify.h')
0 files changed, 0 insertions, 0 deletions