Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2662008pxa; Mon, 17 Aug 2020 15:52:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOjJw/DqXoW+cbN/Eicpc5IgF4luO31s0y7YReVplUjqXUm36OAPgT6ECr4RmyfPtDuZd4 X-Received: by 2002:a17:906:3790:: with SMTP id n16mr17170500ejc.256.1597704750063; Mon, 17 Aug 2020 15:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704750; cv=none; d=google.com; s=arc-20160816; b=XSP3gaTIFU4nedMjH10wf1PsWW16cxvNHhaskmj0XFquXwhhlK3YQ8vCkxQirI2rVU PhkFbAQVKGjytLt2p+Z/dgogs8cbojqraUBhdji1TcNhq5fWu3/6NvIyukPmSgj1pnEV P8Kvy3EI5EGAceLsbsxnpzsqnJVSA2P2dlaVcr6S0ba4N7ZY2O1v+WKnd9vkrrt1JChF fvqXlmCYLYHGfKsemy+Xnv8HY/2gjSPC2k1U524iQb70OMEqURehcJfHHm62Jvs31uns +uZvUi3Aznj2THoCkTdInjrcX5a3dqNDIHRqzmipc2xixZdmy8xKs3ZBmYpTWDtl+OBG KCew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=P05QmnDi+uruDQ5MBAVNjTlXzuiFl3vqCT6xMfUVCVs=; b=oE1pdx3I8Wl58JiFRHXnMVED0WszHajdhdJW+EiBt/2zoBY3mtJu8xgl9mG0uBzBVI KL9do4svCQ3GZ9zey+gBGtuNSKIa4nixL/WEB6ACUqViFZLQtYtYCwjU1972jbkxEWkG NUfU+OqN43+rvQldqVvgJyPYsSxvHRVOhIEtqPfLzqL8grw8eN4TyIQfhe8sLVKFteFL L9JHV9Udc2OfPH2IE7IfWThtvhGb6RtyuRO2Ljgskpd6XmXhUag5iCkvgnQa6gSoG82s EPxl9uxOwJkxrE1lOnX1Gtepqg02ZqfhgayJeNWfo1se56vTI7LgX6AcYHjcJlOiusmQ ldBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tvqd6Sc9; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fy21si12481986ejb.725.2020.08.17.15.52.04; Mon, 17 Aug 2020 15:52:30 -0700 (PDT) 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=@kernel.org header.s=default header.b=tvqd6Sc9; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732159AbgHQT1T (ORCPT + 99 others); Mon, 17 Aug 2020 15:27:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:35404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730370AbgHQPdV (ORCPT ); Mon, 17 Aug 2020 11:33:21 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D4655208E4; Mon, 17 Aug 2020 15:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597678400; bh=nrJEqP40ZR2hqulL9zfKStqb14ZXK7kIm751aLXO3kM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tvqd6Sc9l29Hmw3z0SIMI0Qhurx3iaNQ6s6EILEb3ZEuvW61BfAc/Vf4l3bZuhhPU 7m7v2NpulzUOPJGf0h4vYujph2Nn37M/E7MD27qV/1vAkaHY8ebw/40eRo9zQC6W7v 12og5lin5gReIae9Nv+rzGDX05KKOkpJ0tlTtQsQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Packham , Andrew Lunn , "David S. Miller" , Sasha Levin Subject: [PATCH 5.8 291/464] net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration Date: Mon, 17 Aug 2020 17:14:04 +0200 Message-Id: <20200817143847.693087057@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143833.737102804@linuxfoundation.org> References: <20200817143833.737102804@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chris Packham [ Upstream commit 0f3c66a3c7b4e8b9f654b3c998e9674376a51b0f ] The MV88E6097 chip does not support configuring jumbo frames. Prior to commit 5f4366660d65 only the 6352, 6351, 6165 and 6320 chips configured jumbo mode. The refactor accidentally added the function for the 6097. Remove the erroneous function pointer assignment. Fixes: 5f4366660d65 ("net: dsa: mv88e6xxx: Refactor setting of jumbo frames") Signed-off-by: Chris Packham Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/dsa/mv88e6xxx/chip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index fee16c947c2e8..359043659327e 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -3485,7 +3485,6 @@ static const struct mv88e6xxx_ops mv88e6097_ops = { .port_set_frame_mode = mv88e6351_port_set_frame_mode, .port_set_egress_floods = mv88e6352_port_set_egress_floods, .port_set_ether_type = mv88e6351_port_set_ether_type, - .port_set_jumbo_size = mv88e6165_port_set_jumbo_size, .port_egress_rate_limiting = mv88e6095_port_egress_rate_limiting, .port_pause_limit = mv88e6097_port_pause_limit, .port_disable_learn_limit = mv88e6xxx_port_disable_learn_limit, -- 2.25.1