Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EAD5C2D0E8 for ; Sun, 5 Apr 2020 06:50:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 224F3206C3 for ; Sun, 5 Apr 2020 06:50:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="B06La6hh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726380AbgDEGuy (ORCPT ); Sun, 5 Apr 2020 02:50:54 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:53835 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgDEGux (ORCPT ); Sun, 5 Apr 2020 02:50:53 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BB0BE5C017E; Sun, 5 Apr 2020 02:50:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 05 Apr 2020 02:50:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7muQb6lngjlg+ssBZ /GglkWHs8kdMpVJyjhsC+/7Heg=; b=B06La6hh5KTrrPYq82P5ikWOINqfYhm+P k8TS+DhQPlybrRTxA88qNFpgkPsd2SQPlsaIjFWTKGW47QwvvcgFR0WQXyPxuin1 d9pLmrK+8AwRSkdq36Esdosq1kuSy15aKSjoF2+pIsnogMUOfFHsH70chARx6yB9 HFKHxKjze2njRw3bEELiw0t+QjVO2OKcqCRnpiTg+dPovm+sHQGWpSsouEGTuh/a OZNyJrz5EHqtYQ9Cm7dCZGCIdHxccVGqXeg7xuTVw/rNO8Z6egpHyWGEgzJdS+06 xGywojJzCngCW0s+W5XWXElAOKZEYxIVrMJWJibNRrgnolHQZO4WA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefkughoucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhstghh rdhorhhgqeenucfkphepjeelrddukedurddufedvrdduledunecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihguohhstghhsehiughoshgthhdr ohhrgh X-ME-Proxy: Received: from splinter.mtl.com (bzq-79-181-132-191.red.bezeqint.net [79.181.132.191]) by mail.messagingengine.com (Postfix) with ESMTPA id 53C1D306D20E; Sun, 5 Apr 2020 02:50:51 -0400 (EDT) From: Ido Schimmel To: netdev@vger.kernel.org Cc: davem@davemloft.net, jiri@mellanox.com, petrm@mellanox.com, mlxsw@mellanox.com, Ido Schimmel Subject: [PATCH net v2 0/2] mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_{VLAN_MANGLE, PRIORITY} Date: Sun, 5 Apr 2020 09:50:20 +0300 Message-Id: <20200405065022.2578662-1-idosch@idosch.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Ido Schimmel Petr says: The handlers for FLOW_ACTION_VLAN_MANGLE and FLOW_ACTION_PRIORITY end by returning whatever the lower-level function that they call returns. If there are more actions lined up after one of these actions, those are never offloaded. Each of the two patches fixes one of those actions. v2: * Patch #1: Use valid SHA1 ID in Fixes line (Dave) Petr Machata (2): mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_PRIORITY mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE .../ethernet/mellanox/mlxsw/spectrum_flower.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) -- 2.24.1