Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3881436imm; Mon, 15 Oct 2018 05:50:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV62S5lHKgKbDqdZxByNFz3q7xLS2TQSHwfSzXfw1xu0lU6vYm+hmi/Ai6lWixSsh94zh5wuH X-Received: by 2002:a17:902:d208:: with SMTP id t8-v6mr17236646ply.22.1539607825432; Mon, 15 Oct 2018 05:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539607825; cv=none; d=google.com; s=arc-20160816; b=JIV8yr0WzQqjMecBHRC3hfvTjJojEOOZALtEp4OKu/515z7l4vgToQX8C/Its3KqkW 4uhWZ4EZ7EKQ91U36Bn2SopTn1hOj2nYmzc/oMc7NtzJ29Lw3fBgdm5CpNQ3pzTMWqva MQXapVdYFC0AZFmm9xuUFHtXpG90iRnC9F2vQypW6nogXv6fS+K1rV/llsvg3MgCEJCi nrjttpnkplQmXE0/ZScWG5B0dWQmpiSDHmE9QY8PQsz3htF1TdTNIpAYum0wkKxXF7kR VmKN8XLhKr+a2RpoweD47UfyQ6EaS4NIMtYxheaxOsM1x9kV8AhoDEf1wK6vcxE1onKF 8wLQ== 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:mime-version :user-agent:message-id:in-reply-to:date:references:organization :subject:cc:to:from:dkim-signature; bh=+qzCWwwjFNSVHyH2HitQ0ucenqmwM+Q4JD6uedsWU1s=; b=p0YMN8dt2dO61mLSIZsFL4UQyQpDvyVMJ/kiPOlfjXi0kh1TZaPLFsoWQTlz41oM7/ +zlX0MW2Wl4p/qlodQvCU6hMKC4ebwWx3vEZAsxSDb0ca1FXsKbTzAC0TtXt5CJX64Yd wRwD7RzW0VAhl8/aKTCDd//x5D7bxtKumR60U7BY/hPzVHsK87mo9SGV+6BqWAEyw3jL o1CKq4d9JRuo3mzXcVSOiCqOoxIvqf/54SfWPlzlhUzyptbGFkiDGYEDjDwEb49njFKq bfaeVIX5Ex1H3Oj7XJpilfi9sEtIVafd17NHHMXkm4tEXLqmNZpk84GeIk7QlCAY2t50 u7Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mork.no header.s=b header.b=DPPbqanN; 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 g7-v6si10281254plb.167.2018.10.15.05.50.10; Mon, 15 Oct 2018 05:50:25 -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=@mork.no header.s=b header.b=DPPbqanN; 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 S1726715AbeJOUdl (ORCPT + 99 others); Mon, 15 Oct 2018 16:33:41 -0400 Received: from canardo.mork.no ([148.122.252.1]:57913 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbeJOUdl (ORCPT ); Mon, 15 Oct 2018 16:33:41 -0400 Received: from miraculix.mork.no ([IPv6:2a02:2121:2c7:70e5:c8fa:53ff:fe7c:53d8]) (authenticated bits=0) by canardo.mork.no (8.15.2/8.15.2) with ESMTPSA id w9FCmCYW024287 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 15 Oct 2018 14:48:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1539607694; bh=+qzCWwwjFNSVHyH2HitQ0ucenqmwM+Q4JD6uedsWU1s=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=DPPbqanN0tns6J3Sr+DSCOrhqMApAY6+U5awPq27ksC2yBZ19/VZW3U8mcNJzsc1h 7QK0EAHC4K50l6btObXE4vAoGuCE16sbBBjgoiDihaFp9jcavStn+4lsE8S1UgTWL+ rz6xDrisnOrKx0ywBiA4OF9wkm5w2DqAymNzjhkY= Received: from bjorn by miraculix.mork.no with local (Exim 4.89) (envelope-from ) id 1gC2I3-0006VN-Cb; Mon, 15 Oct 2018 14:48:07 +0200 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: Ben Dooks Cc: netdev@vger.kernel.org, oneukum@suse.com, davem@davemloft.net, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel@lists.codethink.co.uk Subject: Re: [PATCH 2/8] usbnet: smsc95xx: add kconfig for turbo mode Organization: m References: <20181012083405.19246-1-ben.dooks@codethink.co.uk> <20181012083405.19246-3-ben.dooks@codethink.co.uk> Date: Mon, 15 Oct 2018 14:48:05 +0200 In-Reply-To: <20181012083405.19246-3-ben.dooks@codethink.co.uk> (Ben Dooks's message of "Fri, 12 Oct 2018 09:33:59 +0100") Message-ID: <87d0sbz88q.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 0.100.1 at canardo X-Virus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ben Dooks writes: > Add a configuration option for the default state of turbo mode > on the smsc95xx networking driver. Some systems it is better > to default this to off as it causes significant increases in > soft-irq load. So there is already a module option allowing you to change this, using e.g kernel command line or kmod config files. It's even writable, taking effect on the next netdev open, so you can change it at runtime without reloading the module. What good does this new build-time setting do, except causing confusion wrt driver defaults? Note also that the smsc95xx and smsc75xx drivers are pretty similar. Both have the same turbo_mode setting. If you change the defaults, then they should at least be kept in sync to cause as little confusion as possible.. Bj=C3=B8rn