Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2192181imm; Thu, 27 Sep 2018 08:49:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV61jaSi9fRNm0B9JkPpvjLP/Ganc8mzeT8Z+qiXA7J43M5Gcfe/1k9WHa5rcNj1ArHRFRKL0 X-Received: by 2002:a63:1806:: with SMTP id y6-v6mr10920601pgl.187.1538063379447; Thu, 27 Sep 2018 08:49:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538063379; cv=none; d=google.com; s=arc-20160816; b=CfaD4Gr4LKIAjzxGwgWNunwIFTjvT+a0ouo2MdJYGIjA93bNj05ayOXphb968OtJ8c IAWuxd1CFo8+EJPUwIgTsassdqYNz17jMx6YUVw5KHSJQVQiVEmRwshsPAFxXZTekNQ/ GrjMVOG6lwL3p0G3b1zAvJH0K1xEV4kdn5e4x8cNvM7jX/7H7fCS2rFjrLhUj9dEQ6/R TXFbn+D8J+9pv4lyvhzoVBwm5SAniz01WHRRSab6SU37cy/axMKo94UHZnjrOo3NIyje XyRaUsFFAdUfzHHzvnbKtbdZQY2sh/vhPlJeEvYORo3ThWCZJPtmrOmOgmT+TzZeIcF+ k/4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=EZyW8QJpY2iao+DH0YUF/XilZ6oZxa9jbsvPH0zNWDc=; b=xAR9UaxvIV1ItYNZkH3Ku+qs+YIxuQRUli4XZnzAHMLSGoPT+Cy2SCruQi3ZNSmW61 naWmYN7dgWCKteIAvGFAFBnK0B9PDxHLlUYZFQaeLYQZls62K4GSq+KTj6bTK28Cvvga ncHgeQx4CzrGpOcdZT439GMiNYo2O/CoCoq7VsdWAcf92AwS1IWYOXsa9WKLsIWS9Qtc 4UfvIFH2HA51xX4jvFWxRrz4/Ft8SRE3rKaSDbWdLvlz3OainVO+iK4u1wtvZPhtF6pe YmY5E626dvLseABz6hti/iNUAUjk/yIpaHSlTu34nllT3FIjqaCqHIZz/rE+FyJM5tPZ ZdFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@odi.ch header.s=mail header.b=h4oIM1Ns; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f94-v6si2590907plb.10.2018.09.27.08.49.23; Thu, 27 Sep 2018 08:49:39 -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=@odi.ch header.s=mail header.b=h4oIM1Ns; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728359AbeI0WHQ (ORCPT + 99 others); Thu, 27 Sep 2018 18:07:16 -0400 Received: from vie01a-dmta-ch02-2.mx.upcmail.net ([84.116.36.95]:40895 "EHLO vie01a-dmta-ch02-2.mx.upcmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727212AbeI0WHP (ORCPT ); Thu, 27 Sep 2018 18:07:15 -0400 Received: from [172.31.216.44] (helo=vie01a-pemc-psmtp-pe02) by vie01a-dmta-ch02.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1g5YWb-0007dD-A8 for linux-kernel@vger.kernel.org; Thu, 27 Sep 2018 17:48:21 +0200 Received: from gandalf.odi.ch ([84.74.184.48]) by vie01a-pemc-psmtp-pe02 with SMTP @ mailcloud.upcmail.net id gfoJ1y00J134B7001foKii; Thu, 27 Sep 2018 17:48:20 +0200 X-SourceIP: 84.74.184.48 X-Authenticated-Sender: odi.ch@hispeed.ch Received: from [10.11.1.254] (unknown [81.7.230.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gandalf.odi.ch (Postfix) with ESMTPSA id E22564600A3; Thu, 27 Sep 2018 17:48:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=odi.ch; s=mail; t=1538063298; bh=EZyW8QJpY2iao+DH0YUF/XilZ6oZxa9jbsvPH0zNWDc=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=h4oIM1NsBWoNGVrVaptmkncIe2ALhQdc5I1E5KNsrB+AjvfiNKa2mBuQcAEgykDxW rEgPG5jcR+QmYLjExgjhfaz/BuKcuZiY5hfj9ONEnkZriwjDeTMctXMbyIM/IXlxAj eFglRiPaKuhaWGGWpe4gaE+jWBUy5uNTUyDHc+Wk= Subject: Re: kernel 4.18.5 Realtek 8111G network adapter stops responding under high system load To: Heiner Kallweit , David Arendt , "Maciej S. Szmigiero" , Gabriel C Cc: linux-kernel@vger.kernel.org, nic_swsd@realtek.com, netdev@vger.kernel.org References: <20180918102349.Horde.yHctatUod-_SC696oYKmySa@cloud.luxmemories.lu> <039cc66f-13b0-e745-b6ec-68f4580e90ef@maciej.szmigiero.name> <0e865e74-e587-61b7-d319-9afe0a5e8828@prnet.org> <968f03ee-a271-242b-d90a-5c70ea72ce3b@gmail.com> From: =?UTF-8?Q?Ortwin_Gl=c3=bcck?= Message-ID: Date: Thu, 27 Sep 2018 17:48:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <968f03ee-a271-242b-d90a-5c70ea72ce3b@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25.09.18 23:03, Heiner Kallweit wrote: > It seems that all chip versions from 34 (= RTL8168E-VL) with the > exception of version 39 (= RTL8106E, first sub-version) need > bit TXCFG_AUTO_FIFO. > > And indeed, due to reordering of calls this bit is overwritten. > Following patch moves setting the bit from the chip-specific > hw_start function to rtl_set_tx_config_registers(). > > Whoever is hit by the issue and has the option to build a kernel, > could you please test whether the patch fixes the issue for you? Hi, Looks good so far! No problems for almost 24 hours. This is on a router/firewall that links various sites via IPSec and other VPNs and has >10 network interfaces, 5 of which are Realtek ones. Thanks, Ortwin # uname -a Linux lofw 4.18.10+ #72 SMP PREEMPT Wed Sep 26 17:07:07 CEST 2018 x86_64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz GenuineIntel GNU/Linux # uptime 17:42:37 up 22:54, 1 user, load average: 0.48, 0.38, 0.30 # ifconfig wan wan: flags=4163 mtu 1500 inet 81.7.230.226 netmask 255.255.255.248 broadcast 81.7.230.231 inet6 fe80::529a:4cff:fe2e:92be prefixlen 64 scopeid 0x20 ether 50:9a:4c:2e:92:be txqueuelen 100 (Ethernet) RX packets 56342905 bytes 40589502599 (37.8 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 54032328 bytes 44607761646 (41.5 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 # ifconfig lan lan: flags=4163 mtu 1500 inet 10.11.1.1 netmask 255.255.255.0 broadcast 10.11.1.255 inet6 fe80::20a:cdff:fe31:6022 prefixlen 64 scopeid 0x20 ether 00:0a:cd:31:60:22 txqueuelen 100 (Ethernet) RX packets 54799469 bytes 43111097607 (40.1 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 55158558 bytes 35746992802 (33.2 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0