From: Chenmin Sun Date: Thu, 15 Apr 2021 10:51:24 +0000 (+0800) Subject: avf: remove the vxlan flow support X-Git-Tag: v21.10-rc0~247 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=fa551b889afadda6dcfcc8093f6949f85284b41d;p=vpp.git avf: remove the vxlan flow support This patch fixes a vxlan flow type checking bug which is introduced in commit 7a016e87e473. It is the native avf instead of dpdk that doesn't support vxlan flow offloading. So this patch removes Vxlan flow supporting in native avf_plugin and adds the vxlan flow back to dpdk_plugin. Type: fix Signed-off-by: Chenmin Sun Change-Id: I1a72629cee462b890327c589c846f6d532b2d61d --- diff --git a/src/plugins/avf/flow.c b/src/plugins/avf/flow.c index 4e94c81354d..e0d21cd96a2 100644 --- a/src/plugins/avf/flow.c +++ b/src/plugins/avf/flow.c @@ -491,7 +491,6 @@ avf_flow_ops_fn (vnet_main_t *vm, vnet_flow_dev_op_t op, u32 dev_instance, case VNET_FLOW_TYPE_IP6: case VNET_FLOW_TYPE_IP4_N_TUPLE: case VNET_FLOW_TYPE_IP6_N_TUPLE: - case VNET_FLOW_TYPE_IP4_VXLAN: case VNET_FLOW_TYPE_IP4_GTPU: case VNET_FLOW_TYPE_IP4_L2TPV3OIP: case VNET_FLOW_TYPE_IP4_IPSEC_ESP: diff --git a/src/plugins/dpdk/device/flow.c b/src/plugins/dpdk/device/flow.c index 8daabc32bf8..a090ec0e930 100644 --- a/src/plugins/dpdk/device/flow.c +++ b/src/plugins/dpdk/device/flow.c @@ -638,6 +638,7 @@ dpdk_flow_ops_fn (vnet_main_t * vnm, vnet_flow_dev_op_t op, u32 dev_instance, case VNET_FLOW_TYPE_IP6: case VNET_FLOW_TYPE_IP4_N_TUPLE: case VNET_FLOW_TYPE_IP6_N_TUPLE: + case VNET_FLOW_TYPE_IP4_VXLAN: case VNET_FLOW_TYPE_IP4_GTPC: case VNET_FLOW_TYPE_IP4_GTPU: case VNET_FLOW_TYPE_IP4_L2TPV3OIP: