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=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS 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 70783C43381 for ; Tue, 19 Feb 2019 08:47:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 353DF21903 for ; Tue, 19 Feb 2019 08:47:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="hspTZxog" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727767AbfBSIrv (ORCPT ); Tue, 19 Feb 2019 03:47:51 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:50092 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbfBSIru (ORCPT ); Tue, 19 Feb 2019 03:47:50 -0500 Received: from mailhost.synopsys.com (badc-mailhost2.synopsys.com [10.192.0.18]) (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 4644A10C189C; Tue, 19 Feb 2019 00:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1550566070; bh=ZW4D6vPPjgSd4kZnmFfdKMeGrQJpQ/gSvdI/N0E8goU=; h=Subject:To:CC:References:From:Date:In-Reply-To:From; b=hspTZxogCIxrYtpYZ7GHaTdqMsU6P0dNzSKdWyBBahByajQEFCyadefnYHPeaRIQ3 gcrmETpnV7Mr5gOwPHlGEpyGIdAA81RYcpnQYwvhMDLrx3LmtasosLMCVLymcyMOVt i0+qGfZyWFDhrSJG8/tmK+DB8wrAOiF/SKHjOfcDNPAZD5lPtC3tO5Iqk3dITCFsDf T55w2vwqeS6xPGd2F33Ra2q38iJQ+Z6h8GAlpV4IrVKqovBPe31U5FmetXTkLlD5ay 6jwncDKGoEKtVa4GkHZYllGrtv2MbMJbc7tsZjgB5Ha294EW4q9PqgK9gQl7uJ8d2g j0pniErYkjFSw== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 817DDA006A; Tue, 19 Feb 2019 08:47:48 +0000 (UTC) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 19 Feb 2019 00:47:48 -0800 Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by DE02WEHTCB.internal.synopsys.com (10.225.19.94) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 19 Feb 2019 09:47:46 +0100 Received: from [10.107.19.176] (10.107.19.176) by DE02WEHTCA.internal.synopsys.com (10.225.19.80) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 19 Feb 2019 09:47:45 +0100 Subject: Re: stmmac / meson8b-dwmac To: Simon Huelck , Jose Abreu , Martin Blumenstingl CC: Emiliano Ingrassia , , , , References: <3001f244-8904-1e89-9595-62a65a7b32ae@gmx.de> <330a523a-c1d6-4a99-3287-459096af0330@synopsys.com> <2abbf79a-cdff-b6a7-42de-79ea2c6ab367@synopsys.com> <7afdaa0d-d0ef-b223-1f6e-2b52bfa44784@gmx.de> <6f25da2b-7f28-b888-3240-7178ac75c90c@synopsys.com> <84fb981c-75ab-ef9e-edd6-cd0c52d9dc36@synopsys.com> <8bae9cd6-5c44-30e3-bfe5-8d6f853f170e@synopsys.com> <065407cd-c13b-e74c-7798-508650c12caf@gmx.de> <227be4e9-b0cc-a011-2558-71a17567246f@synopsys.com> <45e73e8c-a0fb-6f8f-8dc6-3aa2103fdda3@gmx.de> <4493b245-de93-46cd-327b-8091a3babc3a@gmx.de> From: Jose Abreu Message-ID: Date: Tue, 19 Feb 2019 08:47:44 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.19.176] Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Simon, On 2/18/2019 6:05 PM, Simon Huelck wrote: > disabling EEE doesnt help ( did it via the entry in the .dtb / .dts ), > the results are the same. I can confirm the LPI counters are zero or one > only after the test..... It's interesting to see that you have a lot of RX packets but few RX interrupts. This can either be due to mis-configuration of interrupt flags or RX Watchdog. 1. For interrupt flags you should be using LEVEL triggered IRQ. 2. For RX Watchdog you can try disabling it by adding the following in your platform wrapper driver (which will be "dwmac-meson8b.c", at probe): "plat_data->force_sf_dma_mode = 1;" and "plat_data->riwt_off = 1;" Thanks, Jose Miguel Abreu