[dpdk-dev] [PATCH] net/i40e: add break case in flow API

Zhang, Qi Z qi.z.zhang at intel.com
Fri Jan 12 07:47:52 CET 2018



> -----Original Message-----
> From: Zhao1, Wei
> Sent: Friday, January 12, 2018 2:14 PM
> To: dev at dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; Yigit, Ferruh
> <ferruh.yigit at intel.com>; Zhao1, Wei <wei.zhao1 at intel.com>
> Subject: [PATCH] net/i40e: add break case in flow API
> 
> This bug may cause build error when there is no break case code, so add it.
> 
> Fixes: accf70b2ae64e ("net/i40e: move RSS to flow API")
> 
> Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
> ---
>  drivers/net/i40e/i40e_flow.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index
> 6106f78..cd9a9b6 100644
> --- a/drivers/net/i40e/i40e_flow.c
> +++ b/drivers/net/i40e/i40e_flow.c
> @@ -4600,6 +4600,7 @@ i40e_flow_destroy(struct rte_eth_dev *dev,
>  	case RTE_ETH_FILTER_HASH:
>  		ret = i40e_config_rss_filter_del(dev,
>  			   (struct i40e_rte_flow_rss_conf *)flow->rule);
> +		break;
>  	default:
>  		PMD_DRV_LOG(WARNING, "Filter type (%d) not supported",
>  			    filter_type);
> --
> 2.9.3

Thanks Ferruh's capture.

Acked by: Qi Zhang <qi.z.zhang at intel.com>


More information about the dev mailing list