Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2097942yba; Wed, 3 Apr 2019 00:57:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1j8gW9cXj6Gkk9LkK+jdDdce/KLFG6WgSSj+03xRrn/Enq3vgwTZ2KFembCmWslwQ5wlu X-Received: by 2002:a17:902:5a2:: with SMTP id f31mr74561854plf.119.1554278279132; Wed, 03 Apr 2019 00:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554278279; cv=none; d=google.com; s=arc-20160816; b=ZRNmKcGnSFPSpbUzVjSIwqCxP18d9QucJroEEtIjTVKI2PAoJ+TawiOFBBIz6RNGIv EGRC0m6FAVENw7FyVoMI4Cu+Pd2GIuTlBlzVcUimRDb/bgx9c3Dh7jVXH+qOkYbZT1ep KjK6SsRCNvKPU4bNSMfUA2YxMsX9UZQ7NC0yFA6fm5n0KJ2LwDOo9SBDW8f8chGQmtmA gXxR3HrCGDTvl0FQ+uU2cf5/M4n9EHGumsc7xPy6X0DQxEwqC5UmXLai/1UDZ3FuOfmw 2+Jkh1wON2d4K6WC1wsl0Bhzdxyd8VTMSZWEsFcjiLVGzdQDkPWAANNoqKwrM7Pq+mKv p4vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=/AyTKlrTiH8cGokMrJ3esXunW9Mq/NOh4DeLrZKE9yU=; b=ZcEpC0U015oIIFv4vjUC2j1wT8tdmTzGyFyqUOD0Wgsvc50udPAPkWud2CTMZKYfzH BH9x6+w9Kzn3nc1G0JXLJfD89JiCCiVzQawCRru/y49w8VJ7feKgpIX1L8KmFGCC6+Qh 2R/N1ODPAllOhFKvPeduopx1PrmQOWJjh1/msZhJnDIuRzN9TDoVUdkhy7WZvz2dgPZC 3IR3Rkq3deIS5toxTrSti+wQaN6qee68dfXj51Qk+Fg9H7dff3wMd3vQfAt6EYwUkszB A6xcZJYkmD4qhNju+JPeCTvUiAlWiXE0Dis8JkV2w2zR50nDjkgmQ3pnzgC4qnJF+9Xb p+hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=JB2tig1h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o19si12649805pgv.355.2019.04.03.00.57.43; Wed, 03 Apr 2019 00:57:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=JB2tig1h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728900AbfDCHzc (ORCPT + 99 others); Wed, 3 Apr 2019 03:55:32 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:58122 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728625AbfDCHzb (ORCPT ); Wed, 3 Apr 2019 03:55:31 -0400 Received: from mailhost.synopsys.com (dc8-mailhost1.synopsys.com [10.13.135.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id 717DB24E06AE; Wed, 3 Apr 2019 00:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1554278131; bh=/AyTKlrTiH8cGokMrJ3esXunW9Mq/NOh4DeLrZKE9yU=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=JB2tig1h38Q44xossERVCKJV3ANAC5WT1p8cS0oJ54GuauFhA6wvFS2+lQiThKwuH 17HT9Fv7LkjjekuB2INs6CBfXD2hoQBKBlaCgIpnK1d+mGM//lnL7ywGV86hg/oHMB i/BUaH9m3p0HatbNvN66Yqow4V9nFtUcT0XAM1d8nm6RpKPM9dAsWMR75L48sc3pTM iTq481q+UugjpCScxPXhKOISH2XFlXFsrKx5iZyt/jYvcsFkq/fPxGMxT4XTpQuedB 6RqL2S/eqw5U7HKsXuvrFgWlGpjluJgIYcGyGnF9qFx8RS6zJfTrKmfIJBruRCUQGY ngk2n/Pqt3jWQ== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 415A2A008B; Wed, 3 Apr 2019 07:55:29 +0000 (UTC) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 3 Apr 2019 00:55:28 -0700 Received: from DE02WEMBXA.internal.synopsys.com ([fe80::a014:7216:77d:d55c]) by DE02WEHTCA.internal.synopsys.com ([::1]) with mapi id 14.03.0415.000; Wed, 3 Apr 2019 09:55:26 +0200 From: Jose Abreu To: "Leonidas P. Papadakos" , Robin Murphy CC: Jose Abreu , Philipp Tomsich , =?Windows-1252?Q?Heiko_St=FCbner?= , =?Windows-1252?Q?Christoph_M=FCllner?= , Maxime Coquelin , Alexandre Torgue , "netdev@vger.kernel.org" , LKML , Linux ARM , Klaus Goger Subject: RE: [PATCH 1/2] stmmac: introduce flag to dynamically disable TX offload for rockchip devices Thread-Topic: [PATCH 1/2] stmmac: introduce flag to dynamically disable TX offload for rockchip devices Thread-Index: AQHU6Ld2BNOIyyJamEeC//pMtZni+6YnhciAgAADZICAAAGHgIAA920AgAAfNACAACI8cIAAipiAgAALMwCAALjx8A== Date: Wed, 3 Apr 2019 07:55:25 +0000 Message-ID: <78EB27739596EE489E55E81C33FEC33A0B4254A0@de02wembxa.internal.synopsys.com> References: <20190401181840.31255-1-papadakospan@gmail.com> <9d65a22a-2288-dc53-0059-ec4a31424dd8@arm.com> <2312344.mOsv7YkeBG@diego> <9EC67532-2D43-4AAD-BFA7-8B6797067427@theobroma-systems.com> <78EB27739596EE489E55E81C33FEC33A0B421348@de02wembxa.internal.synopsys.com> <4a9839d6-3d90-4354-7b64-78d5c1126e99@arm.com> <78EB27739596EE489E55E81C33FEC33A0B423811@de02wembxa.internal.synopsys.com> <1554245296.1271.0@gmail.com> In-Reply-To: <1554245296.1271.0@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?Windows-1252?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcam9hYnJl?= =?Windows-1252?Q?dVxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUt?= =?Windows-1252?Q?NmI4NGJhMjllMzViXG1zZ3NcbXNnLWQ1YjZiODY0LTU1ZTUtMTFlOS1i?= =?Windows-1252?Q?NjNiLWY0ZDEwOGU2NmE0MVxhbWUtdGVzdFxkNWI2Yjg2Ni01NWU1LTEx?= =?Windows-1252?Q?ZTktYjYzYi1mNGQxMDhlNjZhNDFib2R5LnR4dCIgc3o9Ijk3OCIgdD0i?= =?Windows-1252?Q?MTMxOTg3NTE3MjQzMDc5OTI3IiBoPSJSSzJINXQ0YVk3WHpGQjVvQjNx?= =?Windows-1252?Q?cFlnL1lzS009IiBpZD0iIiBibD0iMCIgYm89IjEiIGNpPSJjQUFBQU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windows-1252?Q?QUFBQUFBQUFRQUFBQUFBQUFBQ0FBQUFBQUE9Ii8+PC9tZXRhPg=3D=3D?= x-originating-ip: [10.107.19.176] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leonidas P. Papadakos Date: Tue, Apr 02, 2019 at 23:48:16 > I can confirm that snps,no-pbl-x8, currently set by uboot for the fdt > basically fixes the tx-checksumming issue. > I get 700~800 Mbps myself but that might come down to the setup. > You could say it affects performance slightly, as I saw in a previous=20 > email. >=20 > Without the setting The rate consistently drops to 0. > ethtool reports tx-checksumming is on in both cases >=20 > Pretty cool! > Does that give you guys an idea on how to tackle it "officially"? >=20 >=20 >=20 Thank you all for testing ! It's been on my todo list to cook up a patch that limits PBL according to FIFO size but I didn't manage to have the time yet so for now it would be better if you fix it by submitting the DT bindings changes. Thanks, Jose Miguel Abreu