classify: increase metadata from 16- to 32-bits 38/37738/3
authorBenoît Ganne <bganne@cisco.com>
Thu, 1 Dec 2022 14:58:36 +0000 (15:58 +0100)
committerNeale Ranns <neale@graphiant.com>
Wed, 7 Dec 2022 03:02:46 +0000 (03:02 +0000)
commitbd9cde810b9aa0a9ee59d10aee91bc313318f042
tree323234418503703ac3cfaddf5138b0d8500cde3a
parent0e79abbe2e4183fe32400bdfcbe0465a8f536ea1
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>
src/vnet/classify/vnet_classify.c
src/vnet/classify/vnet_classify.h