From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755497AbcBCVD5 (ORCPT ); Wed, 3 Feb 2016 16:03:57 -0500 Received: from mail-ig0-f181.google.com ([209.85.213.181]:35502 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745AbcBCVDy (ORCPT ); Wed, 3 Feb 2016 16:03:54 -0500 MIME-Version: 1.0 In-Reply-To: <1454527426.7627.282.camel@edumazet-glaptop2.roam.corp.google.com> References: <568F87AC.60405@oracle.com> <1454488017-8822-1-git-send-email-hans.westgaard.ry@oracle.com> <1454515628.7627.245.camel@edumazet-glaptop2.roam.corp.google.com> <1454522077.7627.264.camel@edumazet-glaptop2.roam.corp.google.com> <1454527426.7627.282.camel@edumazet-glaptop2.roam.corp.google.com> Date: Wed, 3 Feb 2016 13:03:54 -0800 Message-ID: Subject: Re: [PATCH v3] net:Add sysctl_max_skb_frags From: Alexander Duyck To: Eric Dumazet Cc: Hans Westgaard Ry , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , Tom Herbert , Pablo Neira Ayuso , Eric Dumazet , Florian Westphal , Jiri Pirko , Michal Hocko , =?UTF-8?Q?Linus_L=C3=BCssing?= , Hannes Frederic Sowa , Herbert Xu , Tejun Heo , Andrew Morton , Alexey Kodanev , =?UTF-8?B?SMOla29uIEJ1Z2dl?= , open list , "open list:NETWORKING [GENERAL]" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 3, 2016 at 11:23 AM, Eric Dumazet wrote: > On Wed, 2016-02-03 at 10:24 -0800, Alexander Duyck wrote: > >> If this is only meant to be a performance modification and is only >> really targeted at TCP TSO/GRO then all I ask is that we use a name >> like tcp_max_gso_frags and relocate the sysctl to the TCP section. >> Otherwise if we are actually going to try to scope this out on a wider >> level and limit all frags which is what the name implies then the >> patch set needs to make a better attempt at covering all cases where >> it may apply. > > > This is the goal. > > Other skb providers (like tun and af_packet) will also use this optional > limit. > > I fail to see why Hans should send a complete patch series. You realize that conflicts with what anybody else would be told. What was provided in this patch is a half solution, and it may cause bigger messes since it is unclear exactly how this sysctl is meant to be used. > We will send followup patches, as we always did. > > I will send the GRO change for example. > > So please keep a sysctl name _without_ TCP in it, it really has nothing > to do with TCP. In the end I am not the one you have to convince. I have simply stated my opinion, and I guess we will have to agree to disagree. It is entirely up to Dave if he wants to apply it or not. I have slides I need to work on for next week.. :-) - Alex