feature: provide a u16 version of vnet_feature_next 85/25385/2
authorNeale Ranns <nranns@cisco.com>
Mon, 24 Feb 2020 12:54:31 +0000 (12:54 +0000)
committerDave Barach <openvpp@barachs.net>
Tue, 25 Feb 2020 16:05:26 +0000 (16:05 +0000)
commit5cd31ec9405d2bb2fbc8152a08c4cfb64f2a8e73
treef63022fd69c97cd4106da5c9bb5a9badc28334f6
parent7a3a8664bbc9e295d6382949d2d0bcd1998a05f1
feature: provide a u16 version of vnet_feature_next

Type: improvement

when using vlib_buffer_enqueue_to_next the 'nexts' parameter is an array
of u16, but vnet_feautre_next takes a u32. this is a simple wrapper to
address the impedence mismatch.

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I0fa86629e979e313344eb68442dc35a7b9537a8f
src/plugins/acl/dataplane_node.c
src/vnet/feature/feature.h
src/vnet/ipsec/esp_encrypt.c