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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80E6AC7EE23 for ; Tue, 23 May 2023 14:29:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237055AbjEWO3g (ORCPT ); Tue, 23 May 2023 10:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234679AbjEWO3f (ORCPT ); Tue, 23 May 2023 10:29:35 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E9CEDD; Tue, 23 May 2023 07:29:32 -0700 (PDT) Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id BA459854DA; Tue, 23 May 2023 16:29:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1684852170; bh=nyydpcvCYcJ2fkOSjPCLykhfksngix993L7ypy8jbD0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pyaaTNuvLGUaIL7yqBimu9B657MlehkS853B3qB0Wp/L15dQgCxtOT6R5kBq1a9k6 LMlLfnWUs9wQ/PZ37QUYHRWbFYGlCraXC+nupvOr1U4DhORUIvhj9MVg97LJ/rz+kO hAzgE0+88MgwHtLj0RuIuSIuOMUcYx9qjIbIIB5Bv2r9rrlplxO2r5YgKDBE5r9ABB nSYNoxx8XuFnSz0IlENoCTxdWEYy1uL7gGKbaKGgjSXLV6Spa6u0t3+XuZQTTK/L8s QMg6Ro+57AzhSoPcF4CUj8JOBu97QZsZU8CePt9/gAmCGvjcRybXVdr+cPE1gCE9Yn kHvDTdBv4f/8A== From: Lukasz Majewski To: Andrew Lunn , Vladimir Oltean , Russell King Cc: Eric Dumazet , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Alexander Duyck , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Lukasz Majewski Subject: [PATCH v7 1/3] dsa: marvell: Define .set_max_frame_size() function for mv88e6250 SoC family Date: Tue, 23 May 2023 16:29:10 +0200 Message-Id: <20230523142912.2086985-2-lukma@denx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230523142912.2086985-1-lukma@denx.de> References: <20230523142912.2086985-1-lukma@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switches from mv88e6250 family (the marketing name - "Link Street", including mv88e6020 and mv88e6071) need the possibility to setup the maximal frame size, as they support frames up to 2048 bytes. Signed-off-by: Lukasz Majewski --- Changes for v6: - New patch Changes for v7: - Update commit message --- 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 64a2f2f83735..b5e43dd40431 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -5043,6 +5043,7 @@ static const struct mv88e6xxx_ops mv88e6250_ops = { .avb_ops = &mv88e6352_avb_ops, .ptp_ops = &mv88e6250_ptp_ops, .phylink_get_caps = mv88e6250_phylink_get_caps, + .set_max_frame_size = mv88e6185_g1_set_max_frame_size, }; static const struct mv88e6xxx_ops mv88e6290_ops = { -- 2.20.1