From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9DA1CD128A for ; Wed, 3 Apr 2024 18:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:MIME-Version:Message-ID:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=FA1Z7ccgGUr1mA3Z4orKZXjn9zKeUYCS5ju8pjl1/sQ=; b=SQ9poCoV02fXfq DVzNrPYPCAybeONko3jNOfcUbhHvghEDjDkOBbdrk6IYeWSKZWLaOQagnMn/zeNJXQ6Oenfn9X1kF isyQeM0Hcm2JsWCbmJrgSsbLegmmGtNrz/ZJv7i5fhbX/CDUHr0lGhu1nRiSwFWznQgtP9w2/gtCO E7nxJUim1sHloinuvHKsNUhfSohnCtMqjWxTfGkJE0+7cG+rtM6CVm/KTgO2Teclt4qcfmuLebOY7 i9vxzZctjfWeUlE/osTskASYQqkr3wuKmXsWwW5teo0dFN+Z8BKR1TuBEMvkfkwC3QP7cI16tJ2JQ l5h+7htR/UsZk1VPYLvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5ZA-0000000HQjj-07cy; Wed, 03 Apr 2024 18:42:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs5Z7-0000000HQhH-0PA6 for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 18:42:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1712169749; x=1743705749; h=from:subject:date:message-id:mime-version: content-transfer-encoding:to:cc; bh=+02UOlVxnZuD45S1Qu1BKfAhKN1vNMYWnQum/WOH5qs=; b=D2vKj29w+GQ9TMdo87rkriEi8aO8VqBuyw/3yGUQmuyoIETHEyXzWQ18 Z0+pN/P/K8RBlkcxO1djchubxyjrcPO3XFy23Tu6da+OHYUGAnmaadY7/ +P/qAHF7UQEZdFlu9xwZKts1fkK/Irxa2HsJ8YRi6M3ov9fge8xKUttrD 9gc+AcgGIkjz0zkw7IF5iTzC+PGJRsCi2gxslS9+aC+ATCKu+0UQSQtEK td7fiIvt4p57QYki0q2nzhTsH9TPEh09Jdwt8Cpfu3DXTWtXi4cxKz6UR TJehXT5D0prCILlHmINMb8H3e2ca1IbNzEMWPL3Pm2rGSBI2bpmiQhfh0 A==; X-CSE-ConnectionGUID: dPETYnhxT5ynVvwtxb0tHQ== X-CSE-MsgGUID: B98+knGLQoOSJwIb/rapIw== X-IronPort-AV: E=Sophos;i="6.07,177,1708412400"; d="scan'208";a="19360444" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 03 Apr 2024 11:42:28 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 3 Apr 2024 11:42:08 -0700 Received: from DEN-DL-M70577.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 3 Apr 2024 11:42:05 -0700 From: Daniel Machon Subject: [PATCH net-next 0/3] Add support for flower actions mirred and redirect Date: Wed, 3 Apr 2024 20:41:41 +0200 Message-ID: <20240403-mirror-redirect-actions-v1-0-c8e7c8132c89@microchip.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAOWiDWYC/x3MQQqEMAxG4atI1gZqqaJeZXAh8VezsEpaBkG8+ 5RZvsX3HkowRaKxesjw1aRnLNHUFck+xw2sS2nyzgcXnOdDzU5jw6IGyTxLLiSxSOgGkbZv+46 Kvgyr3v/zhyIyR9yZpvf9AcbXIORzAAAA To: Lars Povlsen , Steen Hegelund , , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni CC: , , , Daniel Machon X-Mailer: b4 0.14-dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_114229_249711_33337BF7 X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ================================================================================ Add support for tc flower actions mirred and redirect. ================================================================================ This series adds support for the two tc flower actions mirred and redirect. Both actions are implemented by means of a port mask and a mask mode. The mask mode controls how the mask is applied, and together they are used by the switch to make a forwarding decision. Both actions are configurable via the IS0 or IS2 VCAP's (ingress stage 0 and 2, respectively). Patch #1: adds support for 72-bit actions. Patch #2: adds support for tc flower mirred action. Patch #3: adds support for tc flower redirect action. Signed-off-by: Daniel Machon --- Daniel Machon (3): net: sparx5: support 72-bit VCAP actions net: sparx5: add support for tc flower mirred action. net: sparx5: add support for tc flower redirect action .../ethernet/microchip/sparx5/sparx5_tc_flower.c | 76 ++++++++++++++++++++++ drivers/net/ethernet/microchip/vcap/vcap_api.c | 12 ++++ .../net/ethernet/microchip/vcap/vcap_api_client.h | 2 + 3 files changed, 90 insertions(+) --- base-commit: 5fc68320c1fb3c7d456ddcae0b4757326a043e6f change-id: 20240402-mirror-redirect-actions-cc469cc58586 Best regards, -- Daniel Machon _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel