From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id DB3891041 for ; Fri, 12 Jan 2018 07:47:55 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2018 22:47:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,348,1511856000"; d="scan'208";a="21009495" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 11 Jan 2018 22:47:54 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 Jan 2018 22:47:54 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 Jan 2018 22:47:54 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Fri, 12 Jan 2018 14:47:52 +0800 From: "Zhang, Qi Z" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "Yigit, Ferruh" Thread-Topic: [PATCH] net/i40e: add break case in flow API Thread-Index: AQHTi22YUOUrZdl730m6aR3kDbMAxKNvxgGQ Date: Fri, 12 Jan 2018 06:47:52 +0000 Message-ID: <039ED4275CED7440929022BC67E706115312BB6B@SHSMSX103.ccr.corp.intel.com> References: <20180112061332.63874-1-wei.zhao1@intel.com> In-Reply-To: <20180112061332.63874-1-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: add break case in flow API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 06:47:56 -0000 > -----Original Message----- > From: Zhao1, Wei > Sent: Friday, January 12, 2018 2:14 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Yigit, Ferruh > ; Zhao1, Wei > Subject: [PATCH] net/i40e: add break case in flow API >=20 > This bug may cause build error when there is no break case code, so add i= t. >=20 > Fixes: accf70b2ae64e ("net/i40e: move RSS to flow API") >=20 > Signed-off-by: Wei Zhao > --- > drivers/net/i40e/i40e_flow.c | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 =3D 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