flow: code refactor 72/28072/6
authorChenmin Sun <chenmin.sun@intel.com>
Mon, 27 Jul 2020 09:40:17 +0000 (17:40 +0800)
committerDamjan Marion <dmarion@me.com>
Mon, 31 Aug 2020 12:14:03 +0000 (12:14 +0000)
commit34bfa50b61f8cf454ddce9f378e3d5d29f74a72b
tree37b9e9256a959ce0dbc0bfc66c13814ff59526eb
parent29f3c7d2ecac2f9d80bb33e91bd5d1f9d434768a
flow: code refactor

This is the code refactor for vnet/flow infra and the dpdk_plugin flow
implementation. The main works of the refactor are:
1. Added two base flow type: VNET_FLOW_TYPE_IP4 and VNET_FLOW_TYPE_IP6
   as the base the flow type
2. All the other flows are derived from the base flow types
3. Removed some flow types that are not currently supported by
   the hardware, and VPP won't leverage them either:
   IP4_GTPU_IP4, IP4_GTPU_IP6, IP6_GTPC, IP6_GTPU,
   IP6_GTPU_IP4, IP6_GTPU_IP6
4. Re-implemented the vnet/flow cli as well as the dpdk_plugin
   implementation
5. refine cli prompt
6. refine display info in command "show flow entry"

Type: refactor

Signed-off-by: Chenmin Sun <chenmin.sun@intel.com>
Change-Id: Ica5e61c5881adc73b28335fd83e36ec1cb420c96
src/plugins/dpdk/device/flow.c
src/plugins/gtpu/gtpu.c
src/vnet/flow/flow.h
src/vnet/flow/flow_api.c
src/vnet/flow/flow_cli.c
src/vnet/flow/flow_types.api
src/vnet/vxlan/vxlan.c