Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3654795pxb; Fri, 4 Feb 2022 13:21:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJySBdo5tzYImNBkZQhhAiNI6Mgq7JElnxOfNF5kuV/r+yZ4La6E5LVDXhqF7ruQDgtreIa6 X-Received: by 2002:aa7:da81:: with SMTP id q1mr1106237eds.25.1644009701109; Fri, 04 Feb 2022 13:21:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644009701; cv=none; d=google.com; s=arc-20160816; b=VIakZ+NCMApSEnOiWTNDh9O6J+3AnykmqKcSQLgwexGn+6sZTSN6mAmGUl1vNSdnaw RdprsdHorvWPF/D7dgYLfO17WI4zkKvMaUN1uuT2aXqZQGoO2Prc1Pz5v908KhbyWPTK JMclixPza4qJPwqChYV0XWIL5BWzDnqf6li28H2icOH5XlGf9JxT6sineI3JKIFG/TS5 RwxsnWQ6VzhJiqsGOzDXD2NaY+RDQQ/nMelhRNk5pjq2hUOFLXHGvG+vWbg5/qVsBTqe Rj/LvEHK3DX52GH5RNGXTqjiB/lgbbs/k+LkawfrNfEcHKz8aamcoyK6HFqaCKO5wMz/ lxPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=F2YhX5ZJBnxNe89ks74s5Pzt0pqk3KIaw4rsT0A7OK8=; b=rmd5Au4JciMwAdzxSVaL5wfkWRE0MT88g830GT5o0IdboStYYTc0riDkl6C7TDcrYb 162qO1xGZlwqT39C7Pt8S5K3MBUCODVbbe8LlukxgG+sEtzNz6MX5Qzpz3TtfQpv762/ 61//3uBgAApW+BlegXJgFKb3idntdYnUiCeqzYucLrzTniQBTUgKPpml2P5FxDd0PpC9 ESPflU7I3gYJDqG/51PQU+/vK/maBhMWLN6g8smvyZNXQoGaV3rBpb8Yxfu7K67BCPW4 kQA4SdK4NImIvs7g+dw0dzTi71/EVviVALelFGtpAtcpe0BxgiYZ2oEi211i5TBTB5/B wHmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@waldekranz-com.20210112.gappssmtp.com header.s=20210112 header.b=6oT4NnlQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t14si2141093edd.277.2022.02.04.13.21.16; Fri, 04 Feb 2022 13:21:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@waldekranz-com.20210112.gappssmtp.com header.s=20210112 header.b=6oT4NnlQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350110AbiBCKRW (ORCPT + 99 others); Thu, 3 Feb 2022 05:17:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350052AbiBCKRI (ORCPT ); Thu, 3 Feb 2022 05:17:08 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C0CAC06173B for ; Thu, 3 Feb 2022 02:17:08 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id v123so1587387wme.2 for ; Thu, 03 Feb 2022 02:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=waldekranz-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=F2YhX5ZJBnxNe89ks74s5Pzt0pqk3KIaw4rsT0A7OK8=; b=6oT4NnlQmKCWvtO0py114RV1BTQ+uSu/vnDWC0vARI/gQnJXBBJH/E0cxYPJMWtoJK p0u3NKD2okTugpKwW8j6rAEusfYzE8SPso0xjGMXoykl0FI8HoKl5cabCaREpTyyjpgj rc0L2nzn6VqSEzuNMWPwScTqx53UenUWp3WZa/idMjZHI2lljLub5N3hUt+usXjPuxs0 2l62+kE1WD3AN6pxqxuJjiTQ8tFrSUnDWU/nb4JpnL092emGwT/SZx/ilMHDNYdzGg8o 94nZd5ZVJzu3KQOpHaKhwO1gXGAp2Lo+wvT8jKNvPn00RwkZTvVUtU2yOasCXElo4PlA XzSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=F2YhX5ZJBnxNe89ks74s5Pzt0pqk3KIaw4rsT0A7OK8=; b=SwZ0uPNe5kUT/c5L9op/uSOzP/RjDYfzmka1nEFLX6BOtrPA0kwvI39j2cXxTeXfjB PQYeq/gpUgNyg/+yyWov6+z2LwXgSBKzN5iK8tllF53b6PDKD+HfR5SqpoF7Zd77mkL8 /By5GvDV7a2G44ffuoLsfZ7Q7B8Exsl1rBDE1N0jVjc4fYy7hG8zYCcQ194SxIGhWlEJ /pEHCSnh0GGI+b8xeE01TYH3g8CNK1fgaHwnyWp6eEpEF3Zznb/I1UlhUnUbF0dS0KGm mY9PqBfsYjNMZQVfHEYsWMYhdUbLTCk/fA3qHNQifL+ofdWyRS7yar1gHQu8tZt66Jdq 9/PA== X-Gm-Message-State: AOAM533bhFvPmRlKdDatD0P6ZNOZtFhCf5zFxr993d6y7lK+wGLTKcjN rHSyVZZau7Evf5dchiLhDZB2Wg== X-Received: by 2002:a1c:7416:: with SMTP id p22mr9805283wmc.30.1643883426691; Thu, 03 Feb 2022 02:17:06 -0800 (PST) Received: from veiron.westermo.com (static-193-12-47-89.cust.tele2.se. [193.12.47.89]) by smtp.gmail.com with ESMTPSA id g6sm19017148wrq.97.2022.02.03.02.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 02:17:06 -0800 (PST) From: Tobias Waldekranz To: davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next 3/5] net: dsa: mv88e6xxx: Enable port policy support on 6097 Date: Thu, 3 Feb 2022 11:16:55 +0100 Message-Id: <20220203101657.990241-4-tobias@waldekranz.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220203101657.990241-1-tobias@waldekranz.com> References: <20220203101657.990241-1-tobias@waldekranz.com> MIME-Version: 1.0 Organization: Westermo Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This chip has support for the same per-port policy actions found in later versions of LinkStreet devices. Fixes: f3a2cd326e44 ("net: dsa: mv88e6xxx: introduce .port_set_policy") Signed-off-by: Tobias Waldekranz --- drivers/net/dsa/mv88e6xxx/chip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index 7f02ec502e71..99151ba6f545 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -3652,6 +3652,7 @@ static const struct mv88e6xxx_ops mv88e6097_ops = { .port_sync_link = mv88e6185_port_sync_link, .port_set_speed_duplex = mv88e6185_port_set_speed_duplex, .port_tag_remap = mv88e6095_port_tag_remap, + .port_set_policy = mv88e6352_port_set_policy, .port_set_frame_mode = mv88e6351_port_set_frame_mode, .port_set_ucast_flood = mv88e6352_port_set_ucast_flood, .port_set_mcast_flood = mv88e6352_port_set_mcast_flood, -- 2.25.1