Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E4FCC433FE for ; Mon, 28 Nov 2022 19:51:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DD65E852D4; Mon, 28 Nov 2022 20:51:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="CXiYU2x/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A711F852D1; Mon, 28 Nov 2022 20:51:06 +0100 (CET) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1A35B852CC for ; Mon, 28 Nov 2022 20:51:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-ej1-x629.google.com with SMTP id fy37so28532102ejc.11 for ; Mon, 28 Nov 2022 11:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=xDxqNk3JsvUoGYgJfAFYfXZsoE8tVyA+PlUkzzodTno=; b=CXiYU2x/MvaD95P2xUJ8xBm89/MLwkmB8KmdzAc0k2LS4z5fFAhd2l+1sJsK9swDGu c8masljgl16MhEGYVNUJgV71sogkBZSECX86jPUWz3FLAO28nUOO7w6RNjYiX73/EFkN /ROmnMK7ieSqfLr9yXzCBCdFRlAt0pTNSAOHE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xDxqNk3JsvUoGYgJfAFYfXZsoE8tVyA+PlUkzzodTno=; b=iO5VmybB+0xpjix7WD6aLK0rB7ycXeCGdwlLcIUvicFgMrkjHoTU3UtATq/BB7mg7a OrJVKjnTjqqbD7meMIqLJDf5iDG/kku6YOChsaZcBWpu+26YMDEOZVsFhx6NGZFsi+9G AMbVsEQAcfMbsbYu2OziunXemMDRL1mHjZ9G3N/N+nyZuzvWdqsn+bUO3CJVQZLBBTFo TzmSuXCfsxfqWhpmhaEednLC32//bKBdJVHgzH+YGkM3qFyNHzdDFUB7SxLYZuR+L4jW dnVQkSrInCqxsjmqm1o+HU9aB90/SoRa/UowMyK7vEYaHP1cWmwi0pwOaHUrxsld34TT pVWg== X-Gm-Message-State: ANoB5pldRI7yLZp0n2Jy8ik8axTdy6y/C8etrXq+1xGrQ5Vxhp34Qfie 7e5z/K4Nx21Fkcn4/BDBae8Izw== X-Google-Smtp-Source: AA0mqf4UQNfilz4bW8tGo1NwPUos7Cd0tNK9HDjNX3/pjTS9oLwonCIuUWfhd5osfguPPCROMDBiTA== X-Received: by 2002:a17:907:cf92:b0:7bf:7a65:b242 with SMTP id ux18-20020a170907cf9200b007bf7a65b242mr6422272ejc.356.1669665063614; Mon, 28 Nov 2022 11:51:03 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-69da-bdfc-6a2b-e036.res6.spectrum.com. [2603:6081:7b00:6400:69da:bdfc:6a2b:e036]) by smtp.gmail.com with ESMTPSA id sa21-20020a1709076d1500b007aec1b39478sm5317203ejc.188.2022.11.28.11.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 11:51:03 -0800 (PST) Date: Mon, 28 Nov 2022 14:50:58 -0500 From: Tom Rini To: Marek Vasut Cc: u-boot@lists.denx.de, Joe Hershberger , Patrice Chotard , Patrick Delaunay , Ramon Fried , Stephen Warren Subject: Re: [PATCH 2/2] net: dwc_eth_qos: Add support for bulk RX descriptor cleaning Message-ID: <20221128195058.GA3787616@bill-the-cat> References: <20221009155146.18697-1-marex@denx.de> <20221009155146.18697-2-marex@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R10gueRtU1pFqy+X" Content-Disposition: inline In-Reply-To: <20221009155146.18697-2-marex@denx.de> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --R10gueRtU1pFqy+X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 09, 2022 at 05:51:46PM +0200, Marek Vasut wrote: > Add new desc_per_cacheline property which lets a platform run RX descript= or > cleanup after every power-of-2 - 1 received packets instead of every pack= et. > This is useful on platforms where (axi_bus_width EQOS_AXI_WIDTH_n * DMA D= SL > inter-descriptor word skip count + DMA descriptor size) is less than cache > line size, which necessitates packing multiple DMA descriptors into single > cache line. >=20 > In case of TX descriptors, this is not a problem, since the driver always > does synchronous TX, i.e. the TX descriptor is always written, flushed and > polled for completion in eqos_send(). >=20 > In case of RX descriptors, it is necessary to update their status in bulk, > i.e. after the entire cache line worth of RX descriptors has been used up > to receive data. >=20 > Signed-off-by: Marek Vasut > Reviewed-by: Patrice Chotard > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! --=20 Tom --R10gueRtU1pFqy+X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOFESIACgkQFHw5/5Y0 tywRqAwAm7N45q3bLZGYi7AEf08qdgWeYwV8tt+Po+W9zph2lCuu6fzYuCvlZo8H lH0kfXb6ZzQp+cjE0nrwmtqwhSvyh3Cj4fzbsAoiUlDiiN8O0gtHgc6FzsbbmL0p FrlsAnnszHetal10XFxND9HQrOVCi2Ykt8KMObhJSYmxHeuOphO6vDcBjyMIhaA8 L2RYytKkHsdwOGt5yBwo8b0KWQkjecOHNYy/qaGc0H2OwQWMto+0HYOlIUv9PxFP 6Fd1pMf1xp8gso5RPMWc7wFLHJcGlrEvdKmcU+N3KPNXPDXY6O9ntvVDAPEDDRTf iHd1zc5Lc2TZHK0Kd0R4lQz2fXhjTrx0KZf3BlYHrWuY179weAI2jF1dTByXFe8A jcg4nabPMAL58E64Q9YQL+BxGJHaneFXBLFfdpVcxeydhZlF5RGBE1HQONgiLtxj lLKW3HTU2+hge4/ODuPs62pJ5r/7VG2LST9Tjk6APKhg81YWVWNGM5ugjY6HCFXH Uww+txAC =PQax -----END PGP SIGNATURE----- --R10gueRtU1pFqy+X--