From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next v2 0/4] net: mitigate retpoline overhead Date: Wed, 05 Dec 2018 20:49:58 -0800 (PST) Message-ID: <20181205.204958.1878018442106277817.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com, pjt@google.com, linux-kernel@vger.kernel.org To: pabeni@redhat.com Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Paolo Abeni Date: Wed, 5 Dec 2018 19:13:38 +0100 ... > This may lead to some uglification around the indirect calls. In netconf 2018 > Eric Dumazet described a technique to hide the most relevant part of the needed > boilerplate with some macro help. > > This series is a [re-]implementation of such idea, exposing the introduced > helpers in a new header file. They are later leveraged to avoid the indirect > call overhead in the GRO path, when possible. > > Overall this gives > 10% performance improvement for UDP GRO benchmark and > smaller but measurable for TCP syn flood. > > The added infra can be used in follow-up patches to cope with retpoline overhead > in other points of the networking stack (e.g. at the qdisc layer) and possibly > even in other subsystems. ... I like this a lot and unless I hear some objections I'm going to apply this series tomorrow. Thanks for working on this Paolo.