From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] ibmvnic: Enable TSO support Date: Thu, 25 May 2017 14:49:35 -0400 (EDT) Message-ID: <20170525.144935.732861960034229990.davem@davemloft.net> References: <1495679366-7149-1-git-send-email-tlfalcon@linux.vnet.ibm.com> <20170525.144626.1787511445330790842.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, nfont@linux.vnet.ibm.com, jallen@linux.vnet.ibm.com To: tlfalcon@linux.vnet.ibm.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:60496 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030309AbdEYSth (ORCPT ); Thu, 25 May 2017 14:49:37 -0400 In-Reply-To: <20170525.144626.1787511445330790842.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: From: David Miller Date: Thu, 25 May 2017 14:46:26 -0400 (EDT) > From: Thomas Falcon > Date: Wed, 24 May 2017 21:29:26 -0500 > >> The feature is also enabled by a module parameter. >> This parameter is necessary because TSO can not easily be >> enabled or disabled in firmware without reinitializing the driver. > > Sorry, this is unacceptable. When I say no module parameters, > I really really mean it. > > Users should not be burdoned with having to know a special knob for > every driver in order to adjust what is a generic feature. > > You'll have to find another way to accomodate this. Also, TSO helps without SG only because you haven't implemented support for xmit_more in this driver to decrease the number of doorball updates and VM enters. I bet if you added xmit_more support, TSO wouldn't give you much if any performance boost if you have to linearize.