From patchwork Fri Jan 12 06:13:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao1, Wei" X-Patchwork-Id: 33640 X-Patchwork-Delegate: helin.zhang@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E932D71B5; Fri, 12 Jan 2018 07:21:29 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A8A323256 for ; Fri, 12 Jan 2018 07:21:27 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2018 22:21:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,347,1511856000"; d="scan'208";a="23425536" Received: from dpdk2.bj.intel.com ([172.16.182.81]) by orsmga001.jf.intel.com with ESMTP; 11 Jan 2018 22:21:24 -0800 From: Wei Zhao To: dev@dpdk.org Cc: qi.z.zhang@intel.com, ferruh.yigit@intel.com, Wei Zhao Date: Fri, 12 Jan 2018 14:13:32 +0800 Message-Id: <20180112061332.63874-1-wei.zhao1@intel.com> X-Mailer: git-send-email 2.9.3 Subject: [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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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);