From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next v2] tcp: minor optimization in tcp ack fast path processing Date: Sun, 11 Nov 2018 06:34:09 -0800 Message-ID: <678e757d-7df1-4c5d-7acb-dd6b0f94a859@gmail.com> References: <1541938210-11797-1-git-send-email-laoar.shao@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Joe Perches To: Yafang Shao , davem@davemloft.net, edumazet@google.com Return-path: In-Reply-To: <1541938210-11797-1-git-send-email-laoar.shao@gmail.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 11/11/2018 04:10 AM, Yafang Shao wrote: > Bitwise operation is a little faster. > So I replace after() with using the flag FLAG_SND_UNA_ADVANCED as it is > already set before. > > In addtion, there's another similar improvement in tcp_cwnd_reduction(). > > Cc: Joe Perches > Suggested-by: Eric Dumazet > Signed-off-by: Yafang Shao Signed-off-by: Eric Dumazet Thanks.