From patchwork Tue Nov 8 08:23:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 13036015 X-Patchwork-Delegate: kuba@kernel.org 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 78D8CC4332F for ; Tue, 8 Nov 2022 08:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233771AbiKHIYB (ORCPT ); Tue, 8 Nov 2022 03:24:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233751AbiKHIXx (ORCPT ); Tue, 8 Nov 2022 03:23:53 -0500 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 A839E27B12 for ; Tue, 8 Nov 2022 00:23:52 -0800 (PST) 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 3FEE384FB5; Tue, 8 Nov 2022 09:23:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1667895830; bh=DBYzCogn/9wiUq7uYmdB4Lu0Fygut93Crnr7cr8sh/w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qSSqAs18dMI5jvpo5UdsoCXuh1WOw+K5heyOX9VFGwXFTEYKYLLcB7j41eBwr4RXz LBlveKMeoQR1MD/6/nHic1ZETCjMxNusAkWa6CIH5/uesPsvi3Jr1Pe7h8fOu7g7Kh VkD5TMbazuTUMFOxH/yzO9gF3MYmepl9fLofHIB0+NqTWZ2dtEMPYRs4JaWl7ruvnL gcC/SdpzGfaA6Y1SRnBSSG1tf2rTgZXFL6XOqIQwa3MH3Qz/1CTltUDTGdKBFKcPHR TeyT3gRzaGryGidInhNGwT26jZEGAXA0cc3N1vzrElyokMhuNSM11drYTVjejlVSsH wYa2RCFgy8WNg== From: Lukasz Majewski To: Andrew Lunn , Vivien Didelot Cc: Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, Lukasz Majewski Subject: [PATCH 7/9] net: dsa: mv88e6071: Define max frame size (2048 bytes) Date: Tue, 8 Nov 2022 09:23:28 +0100 Message-Id: <20221108082330.2086671-8-lukma@denx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221108082330.2086671-1-lukma@denx.de> References: <20221108082330.2086671-1-lukma@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Accroding to the documentation - the mv88e6071 can support frame size up to 2048 bytes. Signed-off-by: Lukasz Majewski --- 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 d90835b4c606..e0224fc92ddf 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -5563,6 +5563,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = { .num_ports = 7, .num_internal_phys = 5, .max_vid = 4095, + .max_frame_size = 2048, .port_base_addr = 0x08, .phy_base_addr = 0x00, .global1_addr = 0x0f,