From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935143AbdACNUf (ORCPT ); Tue, 3 Jan 2017 08:20:35 -0500 Received: from pb-sasl2.pobox.com ([64.147.108.67]:64175 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757855AbdACNTh (ORCPT ); Tue, 3 Jan 2017 08:19:37 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:to :references:cc:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=JkArxk qsOaeZFrYxqXYproAKwjhMG/izj3PzuZZnplW76oM6J+G7ILLcywl0bZaaGf2TGJ 4avwsqSt4ImehWI/0OhBULeJQK5yQKMMa7CdUgpv9eLNckZDQX7lU/OdevOP0yY+ ogrn+vjBhIUDcIZRBoyo3gYnTUL5veIax8Pzs= Subject: Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable To: Ansis Atteka , Hayes Wang References: <20161125095350.GA20653@kroah.com> <1816ec7e-2733-f4ba-5d30-29dbabd20aad@pobox.com> <20161125.115827.2014848246966159357.davem@davemloft.net> <0835B3720019904CB8F7AA43166CEEB201057793@RTITMBSV03.realtek.com.tw> Cc: David Miller , "greg@kroah.com" , "romieu@fr.zoreil.com" , "netdev@vger.kernel.org" , nic_swsd , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" , Ansis Atteka From: Mark Lord Message-ID: <2cd1f804-b81a-d12c-df96-59c76eecdd31@pobox.com> Date: Tue, 3 Jan 2017 08:19:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: 4540FF2C-D1B7-11E6-A939-2275F1301B6D-82205200!pb-sasl2.pobox.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-01-02 07:40 PM, Ansis Atteka wrote: .. > I think that I am getting closer to the root cause of this bug. Also, > I have a workaround that at least makes r8152 functionally stable in > my Dell TB15 dock. Mark, would you mind giving a chance to the patch > that I have in the bottom of this email to see if it helps your issue > too (you might have to tweak those settings slightly differently if > you use something else than USB 3.0) /* USB_RX_EARLY_TIMEOUT */ -#define COALESCE_SUPER 85000U -#define COALESCE_HIGH 250000U -#define COALESCE_SLOW 524280U +#define COALESCE_SUPER 8500U +#define COALESCE_HIGH 25000U +#define COALESCE_SLOW 52428U The RTL_VER_02 chip that I was using does not support interrupt coalescing in the driver [see the rtl8152_set_coalesce() function]. So that workaround would not help here. -- Mark Lord Real-Time Remedies Inc. mlord@pobox.com