Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2638645pxa; Mon, 17 Aug 2020 15:09:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztGNKvNMRTYfvEzzkxtwAz1xxPOz0Ff3T7AWsgIsx61/oEfNLAS15W1aZ55KpUlgAFsttX X-Received: by 2002:a05:6402:1151:: with SMTP id g17mr12709358edw.227.1597702177486; Mon, 17 Aug 2020 15:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597702177; cv=none; d=google.com; s=arc-20160816; b=VTwADNO53l5JEyyfuUKhLniQEW9/M/L+4TGl1wWA4Eghx27SoUD1yIt2ik0uvRNwZE yWT7UqFUNK+jVkS1ZTJLlbWziaRJJou6EbgwOnTDsM7qZ4IzlcHD8OHsv2JZGJFey0wR fHkZdLjvHGtGrsfkF2hA2VCwPpjZ9IymJgvkjGloFdxalJFEb1ShLPIwofC671OE0pWh koT5QVqE908S92j3yYrW7tPnphiFA09zd3tpSHL97J1+B1pNVYS7WTaElvov2Bpa23+H f82Ue+tzE/Uj45yVENfe8CovZCxTKqT+U8IX8QNNoOAx2GrJae1a9vEaRQgSTTCKGfh7 hVNA== 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=79Kqn/mQaDri10sxVUkEcsESf/ygsa1mwZe3uPD6yUc=; b=LCOPCyfL+S2f8+Tu6zfwP/NPn0sDmBxg5Yzzq3fREnw0RQg1MZJQ4x/MVjuf0MtN38 txS9CfvWQ2VgBeP+6t0dIjsX5Wo+lnAMzxqkHQU2IZdMMxhFKeDwHGM0fEtVyJZn8AAr d0y2j594sIiQ/fHIFOjuxKBIVrKO3ktzZXNISBa8HQMS3RAzXzgGyAHwKikaIlR7dtkW U9DGhh22eq1eTobRPwQi/ESP1JmxFtMovlQh2HhoZxL+qeHS4s5tg2ysXFt7Yrj5fzvC LixqYO8KvJPXL8mNM/n6LHpfBSLi4cyCTDeJXfjsHkxmtca7kVz5UkdEckW5ZTeuoo1Q 49Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mwqFedwL; 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 f23si12028418ejc.740.2020.08.17.15.09.13; Mon, 17 Aug 2020 15:09:37 -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=mwqFedwL; 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 S1730551AbgHQQ1V (ORCPT + 99 others); Mon, 17 Aug 2020 12:27:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:38374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387846AbgHQPwW (ORCPT ); Mon, 17 Aug 2020 11:52:22 -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 0B4E220657; Mon, 17 Aug 2020 15:52:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597679541; bh=aQ1uykngxfyy77fl0AX9x6BTeX7NsTbHVS3LBX3NjRg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mwqFedwLwSzMa43IarmSWIdaHeTzB2RGkG8zxdLdfCriVR0SCFh5Ws2suhjCyEHYJ +G5sNvfY1ad5aJ61GjAVe207j6YcU8dRv6ehUP1PBKLmc2bL8u648iCR+tmNCeFJyf vMcnfNliS5C6cC1jdaxC8PhN4s52GfDvfBeCz3eg= 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.7 248/393] net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration Date: Mon, 17 Aug 2020 17:14:58 +0200 Message-Id: <20200817143831.651057479@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143819.579311991@linuxfoundation.org> References: <20200817143819.579311991@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 e065be419a03d..18c892df0a130 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -3477,7 +3477,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