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

Zhang, Helin helin.zhang at intel.com
Sat Jan 13 06:55:49 CET 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhang, Qi Z
> Sent: Friday, January 12, 2018 2:48 PM
> To: Zhao1, Wei; dev at dpdk.org
> Cc: Yigit, Ferruh
> Subject: Re: [dpdk-dev] [PATCH] net/i40e: add break case in flow API
> 
> 
> 
> > -----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>
Applied to dpdk-next-net-intel, thanks!

/Helin


More information about the dev mailing list