flow: add vnet/flow formal API 68/28068/5
authorChenmin Sun <chenmin.sun@intel.com>
Mon, 27 Jul 2020 09:54:40 +0000 (17:54 +0800)
committerDamjan Marion <dmarion@me.com>
Tue, 25 Aug 2020 12:13:43 +0000 (12:13 +0000)
commitd0236f725d31e5e5d23e5f207b1a317fcd96a964
tree9ff39dfeb54be6cc17899c999bb6a210a2585060
parent4fa3aad33fffadec7b7614dc68c8f1d3d9f311c9
flow: add vnet/flow formal API

This patch adds the API for vnet/flow infra.
Currently this API supports the below flow types:
    VNET_FLOW_TYPE_IP4_N_TUPLE
    VNET_FLOW_TYPE_IP6_N_TUPLE
    VNET_FLOW_TYPE_IP4_N_TUPLE_TAGGED
    VNET_FLOW_TYPE_IP6_N_TUPLE_TAGGED
    VNET_FLOW_TYPE_IP4_L2TPV3OIP
    VNET_FLOW_TYPE_IP4_IPSEC_ESP
    VNET_FLOW_TYPE_IP4_IPSEC_AH
    VNET_FLOW_TYPE_IP4_GTPU

All the above flows are tested with Intel E810/X710 NIC

Type: feature

Signed-off-by: Chenmin Sun <chenmin.sun@intel.com>
Change-Id: Icb8ae20cab9bdad6b120dddc3bd4fb1d85634f3f
src/vat/api_format.c
src/vnet/CMakeLists.txt
src/vnet/flow/FEATURE.yaml [new file with mode: 0644]
src/vnet/flow/flow.api [new file with mode: 0644]
src/vnet/flow/flow_api.c [new file with mode: 0644]
src/vnet/flow/flow_types.api [new file with mode: 0644]
src/vnet/ip/ip_types.api
src/vnet/vnet.h
src/vnet/vnet_all_api_h.h
src/vpp/api/vpe.api