Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp897716pxb; Tue, 1 Feb 2022 12:42:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZhGAN5ZyBkt4w+iqbKk1/kjS2wGlPj7I57QjKCKtJORpaDdvxABAk97mKlb4GINzHF3+9 X-Received: by 2002:aa7:9838:: with SMTP id q24mr26933728pfl.76.1643748159952; Tue, 01 Feb 2022 12:42:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748159; cv=none; d=google.com; s=arc-20160816; b=w0SPru2zl6pXmm+v+uM3XFxT3QyGwFrzbSKujzQ/74MZN3/BzAy/i/fJAjLS08wpK0 xhIz8IauFo5HfAI8x7wkFonjhWktVp1f2dNWhHof/iTYZVjem600qwDShyyTSsQCVRBs 4S0wKNaZtsbFiz+TtdIstOCh4CVZIRlB5QwLkGZgNRUD0MHNyOtLn9N+5fV1uRy+f3+i QMiSNXJbkeId910O1vDXKbraLXiLV9D5ckQGfqqAG0ANxvtTRD2kkNSgSKYh0G0mpy5j tXKi8wx8QhuilHMWPs6C4+0+m4CGyN4P0cir20pUBWFVKntp4GP1m/grwtUZWvwILct/ 4kGw== 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=tWF6c50iluk3gJWzzn2nu1IXzyQw+e+0Zhpcp6dcL3w=; b=lYnKTUt/60NvcOlWDN56j+SRx5IL/rnmSDpctgj0TSWZT8KlaZxPpdDzjCLLHJb9S+ 8agbgngS90uHoImGs2AtL+M9fYHpttN+SHlufgAwHfl1yvpq7t9h0zzPEfESM2MiiL6j yqIHZCyqlY73s7TBCS23NeHWFeI1/hpYx7sNFRA9Yhs1Kt/lz4bo4jb9P7hKxd8hg6fI dKpR2Dsi6AgNgSYO5QhW+qWEaaIKehH+99WYtmqkyjdJBlDOo4kdfJ27cUXdNjjM3jK+ dDjMIay/G8WYjaUgr0gl7t8NW3HVtgsL/JiMRpwpq7x1Fmog9pXBxtD7fDQaKbP59LVa V/IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@waldekranz-com.20210112.gappssmtp.com header.s=20210112 header.b=Jbk3gukC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ls7si3825412pjb.177.2022.02.01.12.42.28; Tue, 01 Feb 2022 12:42:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@waldekranz-com.20210112.gappssmtp.com header.s=20210112 header.b=Jbk3gukC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379870AbiAaPrV (ORCPT + 99 others); Mon, 31 Jan 2022 10:47:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379801AbiAaPrI (ORCPT ); Mon, 31 Jan 2022 10:47:08 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38F10C06173D for ; Mon, 31 Jan 2022 07:47:08 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id e9so20020035ljq.1 for ; Mon, 31 Jan 2022 07:47: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=tWF6c50iluk3gJWzzn2nu1IXzyQw+e+0Zhpcp6dcL3w=; b=Jbk3gukCnhxmdiZU+9xzA2ljkZcm/ma0pywuYYKWI5RpsI4ovcscKufG87o9Kn2lFJ N865G2uzR/dppRp/HI/2iSR3PVLurIEEwohkhHZeMzYcgDBNANwl3MXLrFT3quQmvdua qVX+Pp5THkUSnhYbFccV1r1jzW8Ol0qkxJFU1toE8SskLLmy3R3M1AVMnVeqAYzHHopm COZcN+Pzsa1BHbbpcJWSkvWwARiVfOveX1OuIItjPRpjZ8MN/6/WgsRPmMxuYdYdy11F 1zbCPjzj+Gy50xL8vTSTqWkxE8BIXUGJuTelZ9U1eqK8nIjAxqAGHN6Tn5Ftejcy5NAs Sf6g== 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=tWF6c50iluk3gJWzzn2nu1IXzyQw+e+0Zhpcp6dcL3w=; b=UwDhC94ncgBkV55uqcLilg5B5Kj3bmko+WI2d/7fCBCx9OuxfQxcOr143YXK7dtaOF snKYOurYhPJzoVNuG+Z2OP1zN5Heu8WTC3dGq/0EyymVKaTufVMvtknRvjm7eQThQ2DV JDC2Uy6xNusn0H8ZjmvpGW0p5WIS1Rt29Tn6OFXCfbjxW23Hnqitxpzrptzc8NZKI7qe 7BVWGUqzbo16vSLxBAjjngiaFU77HsQeqyIQgZE9n8ifdUZqAZKxbvB0NgFpUgFp9dBz QKhL65mOT6+SFxpIG7W4Kpwkld3Wnv88Mibv0DrSQQLyzs000gkDlzrnPs2iCBSdXJj7 6jmA== X-Gm-Message-State: AOAM532/EpIHOyfqfoutFwjdJWp2JSSd8V3Is0rRp0V5OukP5/wZLu1k KVLupjGOv+QgHhPy5H31boBNTg== X-Received: by 2002:a2e:2e16:: with SMTP id u22mr13549471lju.205.1643644026573; Mon, 31 Jan 2022 07:47: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 y36sm3374769lfa.82.2022.01.31.07.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 07:47: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 net-next 3/5] net: dsa: mv88e6xxx: Enable port policy support on 6097 Date: Mon, 31 Jan 2022 16:46:53 +0100 Message-Id: <20220131154655.1614770-4-tobias@waldekranz.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220131154655.1614770-1-tobias@waldekranz.com> References: <20220131154655.1614770-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 dde6a8d0ca36..8896709b9103 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