From patchwork Thu Jul 23 03:59:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 1334390 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.a=rsa-sha256 header.s=mail181024 header.b=CHdGi5z6; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BBzBJ2r9Nz9sQt for ; Thu, 23 Jul 2020 14:00:08 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725911AbgGWD7w (ORCPT ); Wed, 22 Jul 2020 23:59:52 -0400 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:45241 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbgGWD7v (ORCPT ); Wed, 22 Jul 2020 23:59:51 -0400 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 628318011F; Thu, 23 Jul 2020 15:59:47 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1595476787; bh=Kut2y6uoflZI3Pk/ydLz6Tf8M+7u4NnAKlxGGdBL6fc=; h=From:To:Cc:Subject:Date; b=CHdGi5z66j6tw5JJgkUjBzXtiRLA8m+PRHSueLu5KTdHG78MxTvDdKYA7Vn4e1x9g tdZ8eHN1HgayLesfE7xl1V4QSIh3LO3asJiX0HudHjKydZbUDIOAn/UmZhxCx97lmt Ctq8423WGl5rrbuE/js6B5e++Ti/YE+0jMYqe9Tbn9e2tlWY/319B48WQK3y6ztQed 59GTpi5ayh/4pl65om25Q1iUzQ2xPZVz0lzYK0H40Bx/l378CkeZwRk5h5InXpmhuw Fzicflj0nKHAVtpJJubRPw5wrtY8sQmBoZHPqp84VvgAsUyyUdHT1v6JhOm6i62qgw HnM+m9hOnyi/g== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Thu, 23 Jul 2020 15:59:48 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.20]) by smtp (Postfix) with ESMTP id B325B13EEA1; Thu, 23 Jul 2020 15:59:45 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E0864280079; Thu, 23 Jul 2020 15:59:46 +1200 (NZST) From: Chris Packham To: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 0/4] net: dsa: mv88e6xxx: port mtu support Date: Thu, 23 Jul 2020 15:59:38 +1200 Message-Id: <20200723035942.23988-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 x-atlnz-ls: pat Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series connects up the mv88e6xxx switches to the dsa infrastructure for configuring the port MTU. The first patch is also a bug fix which might be a candiatate for stable. Chris Packham (4): net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration net: dsa: mv88e6xxx: Support jumbo configuration on 6190/6190X net: dsa: mv88e6xxx: Implement .port_change_mtu/.port_max_mtu net: dsa: mv88e6xxx: Use chip-wide max frame size for MTU drivers/net/dsa/mv88e6xxx/chip.c | 38 ++++++++++++++++++++++++++++- drivers/net/dsa/mv88e6xxx/chip.h | 3 +++ drivers/net/dsa/mv88e6xxx/global1.c | 17 +++++++++++++ drivers/net/dsa/mv88e6xxx/global1.h | 2 ++ 4 files changed, 59 insertions(+), 1 deletion(-)