From: Wei Zhao Date: Fri, 3 Apr 2020 04:46:01 +0000 (+0800) Subject: net/ice: change default tunnel type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6bc7628c5e0b;p=dpdk.git net/ice: change default tunnel type The default tunnel type for switch filter change to new definition of ICE_SW_TUN_AND_NON_TUN in order that the rule will be apply to more packet type. Fixes: 47d460d63233 ("net/ice: rework switch filter") Cc: stable@dpdk.org Signed-off-by: Wei Zhao Acked-by: Qi Zhang --- diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c index ed02d9805c..d9bdf9637e 100644 --- a/drivers/net/ice/ice_switch_filter.c +++ b/drivers/net/ice/ice_switch_filter.c @@ -1091,7 +1091,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++) {