Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1305953lqs; Sat, 15 Jun 2024 03:31:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdY03llxSTj57Fx06w3YtFYkRJNkLHXs8zEzVk5EDtqqMDTzVgn5Q9s9QOyj2M/AvRV0961ornxJjnMqehIthwgyXTwEhdttnDocXp+w== X-Google-Smtp-Source: AGHT+IFVueSqXb9gH98its4gVAbowDkn4d8bRrlsDDtJ124+5ZeazZ5wmhSojOIDNcNBp+oPl6qs X-Received: by 2002:a17:902:e74e:b0:1f7:167d:e289 with SMTP id d9443c01a7336-1f862806033mr69808865ad.55.1718447463654; Sat, 15 Jun 2024 03:31:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718447463; cv=pass; d=google.com; s=arc-20160816; b=qOSP+3HsfOXuZqM68ji7yP95x5raq5jG7af8ONuzLAYVJwEJ0IyxpmyJvOgjslmk31 rfoLS2h5TwiCJR7XAZ+jhE+FQ5PlAz3m9q4DI/cj/tsihGLYo1F6ZVCXBlRW6PiwWV7Q vc2fRE0jA3O9eNY0wVMVc76ebS+3q76Imxf5FZih8zD9sP+9lARJcilc6CETv9dDEIQx AvYRZR775ZHGYV57+aIJmVYVyTnBF8I9UND+59+GJQuc3USubQ8Jx8t5MWvo55FHMY9s izmCsuS1DIxgVwAW2jwazBedHVl/FEthjhPCIf9Roq9AnGGgyNJClBDoAW6nmU7+v1Pl U2kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=I5B00NgFK3HtENDO8NoV2mjiz56entgl/TuWmvUUauc=; fh=Z1JVr0YDlIkHaULJ+vmIfkkerT98nOlutccotBqgt7g=; b=ZK/tgimHnUfkvHn4ar3QkdVHOqcMBmRc/7nsWA06IPoLm28s3QtiABCqSDfO7sb0LT 0q63j7fEs2M4200mhOS2ZlmZdRlzzhC1TReiZJM/bDhPTd2FbyMQ0xU9/e1Fycq1vJbV rQCxODn3mie0KFAsdQmjuL0WRxIZBkkY3C2nroB4hpQ3K56anYAzELJd1C5BJNCyJvsk IK2FnehUeOx7con2RjsqRRzY4MB1UG01ORfsB9hpyfG2MmBZZDKdyvJ4T/0mxu/3KvzI 3rlOuyahglvQFKu16Tc3fdgMBVhWjxbn/ljlvy0lXdCbMwBmVMMapUvOQDmiMWEjzVni 3lvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-215829-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f855ecacd4si52458435ad.247.2024.06.15.03.31.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 03:31:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215829-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-215829-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D920F28410C for ; Sat, 15 Jun 2024 10:31:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 051BD381C7; Sat, 15 Jun 2024 10:30:54 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6384012B71; Sat, 15 Jun 2024 10:30:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718447453; cv=none; b=SVdqRBjBsSvVrKHFBI0CM1Ny6pwY59ElIxUYQe5KYyUogjF1zNOQy/KhAeJiugC3UIq+QVxLqDn3cQ+cK9sqrGYb5AkGMMok0F5QFZai8mULuKnP7fmxgPs5PglvQZmgw4hERWUVA+VwUeIGTvleBclsM5WQt/q7m4H519A2+Ws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718447453; c=relaxed/simple; bh=/QTqkDIUIoqmFannI1bKDDiuqqyIYMJ1Yn8pBNx5fGY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=mx1aG85J5+9pXRvEY4BHABFvcnhqD7ImWeWJuP3B/LNrzehaMdYFHmZb3Xd1gC8K6MQCtp2AbVfxDMhGAuuaH336wZ44QjgtLZGkqlyOOi9HqMuJoWNUg9vk79hdz4eOk+S3qlqV6oqJ+fXUfxxjs3A7UM1gWL5g99nRoruteqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.08,240,1712588400"; d="scan'208";a="208029880" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 15 Jun 2024 19:30:48 +0900 Received: from renesas-deb12.mshome.net (unknown [10.226.92.58]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id DBF1B40071E2; Sat, 15 Jun 2024 19:30:43 +0900 (JST) From: Paul Barker To: Sergey Shtylyov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , =?UTF-8?q?Niklas=20S=C3=B6derlund?= Cc: Paul Barker , Biju Das , Claudiu Beznea , Lad Prabhakar , Mitsuhiro Kimura , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [net-next PATCH 0/2] Fix maximum TX/RX frame sizes in ravb driver Date: Sat, 15 Jun 2024 11:30:36 +0100 Message-Id: <20240615103038.973-1-paul.barker.ct@bp.renesas.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit These patches fix a couple of bugs in the maximum supported TX/RX frame sizes in the ravb driver. * For the GbEth IP, we were advertising a maximum TX frame size/MTU that was larger that the maximum the hardware can transmit. * For the R-Car AVB IP, we were unnecessarily setting the maximum RX frame size/MRU based on the MTU, which by default is smaller than the maximum the hardware can receive. Paul Barker (2): net: ravb: Fix maximum MTU for GbEth devices net: ravb: Set R-Car RX frame size limit correctly drivers/net/ethernet/renesas/ravb.h | 1 + drivers/net/ethernet/renesas/ravb_main.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) base-commit: 934c29999b57b835d65442da6f741d5e27f3b584 -- 2.39.2