Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1095400lqp; Fri, 22 Mar 2024 05:41:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVOIEVY+Z14ZO1ycWm/FVUcxHCFyJJrAMvU7ae8g6NVAJYP2I8IupXD1OEFGskfMxOL2NgZfYwMVh1ywRVUfPYOye7cO4PFAU+PeVb4Mg== X-Google-Smtp-Source: AGHT+IHGrSlJmck5rQXWNzoTiHXveX36ted+FcqijiY3rmQtcMynOfMfQRz3hk31jIhj0XYkgSkl X-Received: by 2002:a05:6a20:548b:b0:1a3:6044:12d0 with SMTP id i11-20020a056a20548b00b001a3604412d0mr2995608pzk.34.1711111296203; Fri, 22 Mar 2024 05:41:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711111296; cv=pass; d=google.com; s=arc-20160816; b=agkEW0ZpFGftYMdtkEdPqVRWifhKN+my7aAft3p5orHwcqxDv+4622IXfE/BzqOMQH 9xCP+2I+IaqpPK8k+KNwF4C4sY02/mQDoCVG+nCJA5gYxj+lLfwRQvHhFHJD69suhTzN z4mGTq0RfPHzKztI1i3pWfAa3Mr7JD9omxqVnGWSoO8ZSBiKgUb/j8XiAvxZR3SjEZrv Ej0aZHFni1FfiUHdUNaWWMHxuFIA0yy2z+Xh6UijsCaRQ3sdhLPKdvPCZRSu6qTQkQBl xMVokEa5/i3ShgSNPqB07nux3cnapd0yYfV5CsEAsd5kt284RrwTE2r6KaTahMj6Jg0I dHeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=piu7c3kUOl3QgeQRjsYjxYR0D0DkQceTfSIvmmwTURE=; fh=paaHGJC2iAOebyRrDMZF+P483naWEsNLO573KVuREdU=; b=tQcDk5rmLi1d5eOPMWxQ+Sokj0mmR+Fc53gs/yHBl+Sxbi4pGTjTzhI7Ak2ERkY3Qw q9ef3RbFZZ+NIBuifemhUdjqeb4KqXrHSKuiyqh/OD7D3UPwqo28ayKqM0CaoBCtNcTT G6pGkU3R2ktvFJtHLHZTkzn3uRojfHGOQmAh/Bpe9NuqpYyuZTXfKYoQcbig1zhrmruj Hg72TEs9mkeUf+MoaRK/qmOT9kh/mYSEEykvv4oQP480wD2s4FkUGx5SRchOIASES9tL GchYfGaCHpABEm9nHLsrg2CSSo+v40AQkmIoM7NWCpG/CDlnKE5SIR9macPsicwd3yVi oI3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=etwQ4ss9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id o7-20020a656a47000000b005dc7ee3c62dsi2091998pgu.236.2024.03.22.05.41.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 05:41:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=etwQ4ss9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8E1E9B2414A for ; Fri, 22 Mar 2024 12:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABB9C446B4; Fri, 22 Mar 2024 12:38:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="etwQ4ss9" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C936F1E4A2; Fri, 22 Mar 2024 12:38:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711111117; cv=none; b=qhaaYHeFvt/cnXr0WJeIPrp/BOGuojdz8WzDVysjrsOyvb6loYZ53DT7MhPiovEvhemwGgtCECAwXjDcEfDhHkmm1YsIdzYgQplczFwJH3C5B/A0QQG5sUSaQW9MCEXn6AuDJjjRGoBJTOOTfUZlBsLNA02lr8wfG+ZmNKtFgdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711111117; c=relaxed/simple; bh=XxILMj4XdG/qv+Kctnfsta1+uF+9o+xl3R90tXyQLRk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ClSpxbb0OV6V0uvdUvuIeN8yC7ZxklFfViQJnU3qCMgQPHO0iGqtr/ZEJwpeDcYoRHEcvVsXg1BCS3IgRahs28R6YfwAiQYcysKCvnQwMSlWdUPE4yYZ1OWpCorQIAiAJ8TuivGoiXtYya8yom6Vz3ms9R1yEsDTUug2xN6nYBA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=etwQ4ss9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 671A6C433F1; Fri, 22 Mar 2024 12:38:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711111117; bh=XxILMj4XdG/qv+Kctnfsta1+uF+9o+xl3R90tXyQLRk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=etwQ4ss9MTb4RqS1UUqa8VHriNf7HlrWilgcT8C6XavL8Zp0DhJlS9a8ik0Y58BHl ABYIZsjh/cj2o6nEBpTceLHCqhInOjFhq/C+q4sHkB9ql5/wnsuIF4S0a1Zk91Wmpx 1l70Kt9FiOPXuf0EF2kIpk8B3VGO2ZbnvCYkYBbt+Fkgz5REvshaI17FUT+hIUZA/e Mz4xOBcvMKCKq/rM4TeopsTXtml0NA6ssy8x96ojQF8KJMN8BNvWRMMn518fqNlrrp +SD5K7tNpSE0OfGL+QdrqKNRZvZQiB/9gAssJ+qYozREU5MF7DPhCgsW+Q1Q244qRi 6ymO+dY0moI1g== Date: Fri, 22 Mar 2024 12:38:33 +0000 From: Simon Horman To: Raju Lakkaraju Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@google.com, linux-kernel@vger.kernel.org, bryan.whitehead@microchip.com, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net V1] net: lan743x: Add set RFE read fifo threshold for PCI1x1x chips Message-ID: <20240322123833.GC372561@kernel.org> References: <20240322064650.275174-1-Raju.Lakkaraju@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240322064650.275174-1-Raju.Lakkaraju@microchip.com> On Fri, Mar 22, 2024 at 12:16:50PM +0530, Raju Lakkaraju wrote: > PCI11x1x Rev B0 devices might drop packets when receiving back to back frames > at 2.5G link speed. Change the B0 Rev device's Receive filtering Engine FIFO > threshold parameter from its hardware default of 4 to 3 dwords to prevent the > problem. Rev C0 and later hardware already defaults to 3 dwords. > > Fixes: bb4f6bffe33c ("net: lan743x: Add PCI11010 / PCI11414 device IDs") > Signed-off-by: Raju Lakkaraju > --- > Change List: > ------------ > V0 -> V1: > - misc_ctl change from int to unsigned int > - Use FIELD_PREP macro instead of logical shift operator > - Change 0x3 to macro RFE_RD_FIFO_TH_3_DWORDS Thanks for the updates, Reviewed-by: Simon Horman