From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA286C282CE for ; Fri, 5 Apr 2019 18:39:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A02B021738 for ; Fri, 5 Apr 2019 18:39:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AB1fF5Mn"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fW+DzFqF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A02B021738 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:To: Subject:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KLKRTt3LWaIu538Es2nxrSyFf/r+99Ktp8Vf3mahfzQ=; b=AB1fF5Mn2J41tAJ5VqWJAcZN6 zaXHYB3Hf8OUtuTQstt3gIpec89sjg6IB4nnlGdYGsA/A+qeAjzPfKmykesKgDSmHuXfWDoO1VTHM +z7CQtn4Z579os3Qtbk1sRGKgzAmIRjzK5sEWxhMK/i1MRMJKyCwszFxqvBWhuIaHTwLDOu/q4Xn7 +1lH0/SJpV39IJkV6gQ7mre8vOACjl33UWkkfKAqRfCvac9qS373D8hoI+zDqAfaagEIxTAIHe2Nf LKgz1oz9JFgOjddf3wWE54fFRfjmX05kUoyD7VFLiEMGWjEBirG2/lvKl/h+nq7Lg0NMvTiXrLdpG jqMXS+Wqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCTk5-0006TM-F2; Fri, 05 Apr 2019 18:39:09 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCTk1-0006Sf-Vh for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2019 18:39:07 +0000 Received: by mail-wm1-x343.google.com with SMTP id c1so7720190wml.4 for ; Fri, 05 Apr 2019 11:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version; bh=mnvm+9lesrHyZqhSf2DoFjOXCqh3DHNocnRafDoBvnU=; b=fW+DzFqFbD0upjz5OkgEDADjshaXIn/BqDQfjGmGCp0SyMyNq+tUgh1wDQOQQJOCAv ux5g8dkXO1zIXUoYYPvYXWM4PcldnpGN4qZnGDK1fimCYWf4O0QWDPNa+l43Sg3SeFRp vSSxUk49v7w6uFirCi69WEk9bkSUiqHH2nSAqcI2VAznXYI3fsrnv6Cw2QZT2cpHonxf ocCqGdPdmGzAS/9cLCyfXo3bO2U6zilGt6h01b0CWidL+mShhd53LNE45cEokGdfutlW iH6wDl5q8kYPoUL8ITA5Aa+Yv8nWJePWTwduUQsnnH8EVDyZhvwg9jU2JU+9cfgTloxd 9CaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:message-id:in-reply-to :references:mime-version; bh=mnvm+9lesrHyZqhSf2DoFjOXCqh3DHNocnRafDoBvnU=; b=Y+OJ2Z55MS+7N5QqcoZfqJmUJJjFjURqULxr72L+lOOckA63IEdXelpNOQ8qLzQwpn xzSXR8R9BLsMhxzdHKCRgA2sWKMFBZu7QE5k6h+EkGzCJ2GI4ct3dIerB82vS1SlD6Zm +Q0LRvei07SbjIK6/rXvxpB3pdshDwYzfb68m3NJwhuP2DxSJ75WaxglhhAA59FeJ8OW HGwVbmONxera1MRXXzKiLeHwdWrF13HtVZkqUlpDidAhQIUthAnRds/bgsSHmWxhv0Hz X9gJ5586CHDH3NXOy2mkmeJD22i7qk+riHtSckaX5qK77VYFNHFfgVNGAsqJ1YWBxDRJ ikrQ== X-Gm-Message-State: APjAAAVbzkeBxoTL9Eg8oCNcqpyj9GOYJdSMQ/w5O5nxA0rXTmzPrjA+ doQZWHD2fyejV958Ep5yQnA= X-Google-Smtp-Source: APXvYqzd32h1p6+liIpTJLGKdw02MqhYo0FSBEMYzOa7UyDUwduaaOWFBxvy9zOJLHzHpX2uhTHdRA== X-Received: by 2002:a1c:9cd1:: with SMTP id f200mr9086912wme.91.1554489542281; Fri, 05 Apr 2019 11:39:02 -0700 (PDT) Received: from X555LD ([2a02:85f:510:b900:9cd8:5174:23da:3e1d]) by smtp.gmail.com with ESMTPSA id z13sm30968302wrw.36.2019.04.05.11.38.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Apr 2019 11:39:01 -0700 (PDT) Date: Fri, 05 Apr 2019 21:38:57 +0300 From: "Leonidas P. Papadakos" Subject: Re: [PATCH 1/2] stmmac: introduce flag to dynamically disable TX offload for rockchip devices To: Robin Murphy Message-Id: <1554489537.1199.0@gmail.com> In-Reply-To: <85c1d945-d49b-3350-6ff4-a058c5a8c1d7@arm.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> <78EB27739596EE489E55E81C33FEC33A0B4254A0@de02wembxa.internal.synopsys.com> <1554305721.1328.0@gmail.com> <1554306954.1328.1@gmail.com> <78EB27739596EE489E55E81C33FEC33A0B44985F@DE02WEMBXB.internal.synopsys.com> <1554488052.1193.1@gmail.com> <85c1d945-d49b-3350-6ff4-a058c5a8c1d7@arm.com> X-Mailer: geary/3.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190405_113906_029815_C8179740 X-CRM114-Status: UNSURE ( 9.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jose Abreu , Alexandre Torgue , netdev@vger.kernel.org, LKML , Christoph =?iso-8859-1?q?M=FCllner?= , Klaus Goger , Maxime Coquelin , Philipp Tomsich , Linux ARM , Heiko =?iso-8859-1?q?St=FCbner?= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org > What's your overall setup? So far with my RK3328 box I've found that > with an IPv4 link and an MTU of 2000 I have to dial PBL right down to > 1 or 2 (with no-pbl-x8 as well) to prevent Tx stalling, and with the > MTU bumped up to 3000 it just won't play at any PBL setting... > > Robin. I'm using a Libre Computer Renegade with RK3328 SoC(maybe it's a board specific thing?) I'm using txpbl as from what I can gather, the rx has no issues, no need to change it. When it comes to rx, running the server (iperf3 -s) on the Renegade and iperf3 -c on my laptop, I get about 940 Mbps. It's always been like that, satisfactory. When it comes to tx (the one all the fuss is about) I eventually find that just with snps,txpbl = <0x21>, and no other pbl thing set I get about 905 Mbps on average sent to my laptop, now running the iperf3 server. I must say I haven't touched the MTUs but I never needed to as the issue presented itself in normal usage. Simple iperf tests will fail after same kilobytes if no tweaks are applied. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel