From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by dpdk.org (Postfix) with ESMTP id 8783737B4 for ; Tue, 20 Jun 2017 13:38:23 +0200 (CEST) Received: by mail-pf0-f195.google.com with SMTP id y7so22260537pfd.3 for ; Tue, 20 Jun 2017 04:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eRExOpL3wOlpW/HFBJuidg/CFIE+yX5xerGsG97iYkE=; b=CtYqXgdQ/UchvAvGMKDQ5ogtVL0OzPaP2rUZRmNyHiJwDNngdvsMsvZNeRWo+AlmRB a2mtFytOPa8p2jP0pj66NcNQi2xVjz6FtIBKKULjbq0hXelo4r6S5RY4Pq8ew4eGo32O eOwSZC72I0ZpfNLZ0u/VkX2224wc/N+PXOTw8iViYb09UFsW8DNKhEPpC8dYHQZikZMq 0XvwZOiZRyex5AYpZk/JIJV64M4halb9TUMVcKlzGYwqUPiWcKPmHTtoSYHnnKnB4F2A z9bwaqBQ02xVwhcLQoNrSZbUJ3KypfLcBHH8116GsNBcDZ4vhChIYH9umux0XGga3EPT O0kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eRExOpL3wOlpW/HFBJuidg/CFIE+yX5xerGsG97iYkE=; b=ObZNzrin3/dCMGpNxyVCIzQPZwghRkalY6SIN2DtYb4pUQ8SwYLdtuH+aWHR3AyT6W JHoONp7V2yn1EWriso2LkQwkguF+q+gXSZX3nUud9nFCDgGLHlkiveQucAT2UfFGp3Kj lIQgX5m+EWimkR514MLL/vIzvVkVJf8iDwBB1CaFCopDcqYpMeM+muGe9G1mxR1JEdJQ dxa4p9uswbW/4MUxOGKpbnA+ofG01AFcAMkei6sP6l8Sil7bNhdxAFcvW+i7BhrnCZE3 HLH+Tc6wlC5mUzyLg8trgEhMz8hyo/3Gpxs6u3BhDYHi5ccycYQKe9jA6L91xa1PTbVK SQHw== X-Gm-Message-State: AKS2vOx3vtjpknW4qV18HyWOK1T3fiGfEBojCXY/rzTVAjXhGuvTeIVL wjSn/KAhfdDNjVRE X-Received: by 10.84.179.65 with SMTP id a59mr34435806plc.82.1497958702872; Tue, 20 Jun 2017 04:38:22 -0700 (PDT) Received: from yliu-home.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 25sm6104783pfj.59.2017.06.20.04.38.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:38:21 -0700 (PDT) From: Yuanhan Liu To: Ferruh Yigit Cc: Adrien Mazarguil , dpdk stable Date: Tue, 20 Jun 2017 19:35:45 +0800 Message-Id: <1497958550-13600-33-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> References: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/mlx5: fix build with gcc 7.1' has been queued to stable release 17.05.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 11:38:24 -0000 Hi, FYI, your patch has been queued to stable release 17.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/22/17. So please shout if anyone has objections. Thanks. --yliu --- >>From eb715252f4f97e463b6a0986f3598c3ffd3894c9 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 13 Jun 2017 17:42:11 +0100 Subject: [PATCH] net/mlx5: fix build with gcc 7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit aee3d4d6d5a6dbfa0a503f25f0f2bec8e6476477 ] build error: .../dpdk/drivers/net/mlx5/mlx5_fdir.c: In function ‘fdir_filter_to_flow_desc’: .../dpdk/drivers/net/mlx5/mlx5_fdir.c:146:18: error: this statement may fall through [-Werror=implicit-fallthrough=] desc->dst_port = fdir_filter->input.flow.udp4_flow.dst_port; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .../dpdk/drivers/net/mlx5/mlx5_fdir.c:147:2: note: here case RTE_ETH_FLOW_NONFRAG_IPV4_OTHER: ^~~~ Fixed by adding fallthrough comment to the code. Fixes: 76f5c99e6840 ("mlx5: support flow director") Signed-off-by: Ferruh Yigit Acked-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5_fdir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/mlx5_fdir.c b/drivers/net/mlx5/mlx5_fdir.c index 1cff41b..c8d4748 100644 --- a/drivers/net/mlx5/mlx5_fdir.c +++ b/drivers/net/mlx5/mlx5_fdir.c @@ -144,6 +144,7 @@ fdir_filter_to_flow_desc(const struct rte_eth_fdir_filter *fdir_filter, case RTE_ETH_FLOW_NONFRAG_IPV4_TCP: desc->src_port = fdir_filter->input.flow.udp4_flow.src_port; desc->dst_port = fdir_filter->input.flow.udp4_flow.dst_port; + /* fallthrough */ case RTE_ETH_FLOW_NONFRAG_IPV4_OTHER: desc->src_ip[0] = fdir_filter->input.flow.ip4_flow.src_ip; desc->dst_ip[0] = fdir_filter->input.flow.ip4_flow.dst_ip; -- 2.7.4