[dpdk-dev] [PATCH 5/7] net/ice: change default tunnle type

Stillwell Jr, Paul M paul.m.stillwell.jr at intel.com
Fri Mar 13 17:14:12 CET 2020


> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of wei.zhao1 at intel.com
> Sent: Thursday, March 12, 2020 6:04 PM
> To: dev at dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; Ye, Xiaolong
> <xiaolong.ye at intel.com>; stable at dpdk.org; Zhao1, Wei
> <wei.zhao1 at intel.com>
> Subject: [dpdk-dev] [PATCH 5/7] net/ice: change default tunnle type
> 
> The default tunnle type for swicth filter change to new defination of

s/tunnle/tunnel

> ICE_SW_TUN_AND_NON_TUN in order that the rule will be apply to more
> packet type.
> 
> Cc: stable at dpdk.org
> Fixes: 47d460d63233 ("net/ice: rework switch filter")
> 
> Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
> ---
>  drivers/net/ice/ice_switch_filter.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ice/ice_switch_filter.c
> b/drivers/net/ice/ice_switch_filter.c
> index 20d0577b5..7ca922602 100644
> --- a/drivers/net/ice/ice_switch_filter.c
> +++ b/drivers/net/ice/ice_switch_filter.c
> @@ -1097,7 +1097,8 @@ ice_switch_parse_pattern_action(struct
> ice_adapter *ad,
>  	uint16_t lkups_num = 0;
>  	const struct rte_flow_item *item = pattern;
>  	uint16_t item_num = 0;
> -	enum ice_sw_tunnel_type tun_type = ICE_NON_TUN;
> +	enum ice_sw_tunnel_type tun_type =
> +		ICE_SW_TUN_AND_NON_TUN;
>  	struct ice_pattern_match_item *pattern_match_item = NULL;
> 
>  	for (; item->type != RTE_FLOW_ITEM_TYPE_END; item++) {
> --
> 2.19.1



More information about the dev mailing list