> -----Original Message-----
> From: Yu, DapengX <dapengx...@intel.com>
> Sent: Wednesday, June 16, 2021 9:21 AM
> To: Yang, Qiming <qiming.y...@intel.com>; Zhang, Qi Z
> <qi.z.zh...@intel.com>
> Cc: dev@dpdk.org; Guo, Junfeng <junfeng....@intel.com>; Yan, Zhirun
> <zhirun....@intel.com>; Yu, DapengX <dapengx...@intel.com>;
> sta...@dpdk.org
> Subject: [PATCH 2/2] net/ice: fix VXLAN flow director creation error
>
> From: Dapeng Yu <dapengx...@intel.com>
>
> In original implementation, error returned when creating VXLAN flow director
> with SCTP or TCP as layer 4 protocol of inner segment.
>
> There are several root causes for the error:
> 1. ice_fdir_input_set_hdrs() set ICE_FLOW_SEG_HDR_UDP into protocol
> header flag of inner segment of VXLAN FDIR rule, even if it shall be
> ICE_FLOW_SEG_HDR_TCP or ICE_FLOW_SEG_HDR_SCTP 2.
> ice_fdir_input_set_hdrs() set ICE_FLOW_SEG_HDR_VXLAN into protocol
> header flag of segments of VXLAN FDIR rule, it not necessary, and can be set
> automatically by ice_flow_set_fld() later 3. flow type:
> ICE_FLTR_PTYPE_NONF_IPV4_UDP_VXLAN hides the flow type of inner
> segment of VXLAN FDIR rule, then further causes function:
> ice_fdir_get_gen_prgm_pkt() cannot write correct protocol id into inner
> segment of training packet.
>
> This patch fixes those defects described above.
>
> Fixes: 855d23a07b36 ("net/ice: support VXLAN VNI field in flow director")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Dapeng Yu <dapengx...@intel.com>
Acked-by: Qi Zhang <qi.z.zh...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi