From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757568Ab3FCNKD (ORCPT ); Mon, 3 Jun 2013 09:10:03 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:63573 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903Ab3FCNJ7 (ORCPT ); Mon, 3 Jun 2013 09:09:59 -0400 Message-ID: <1370264997.24311.131.camel@edumazet-glaptop> Subject: Re: [PATCH v8 net-next 4/7] tcp: add low latency socket poll support. From: Eric Dumazet To: Eliezer Tamir Cc: David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jesse Brandeburg , Don Skidmore , e1000-devel@lists.sourceforge.net, Willem de Bruijn , Ben Hutchings , Andi Kleen , HPA , Eilon Greenstien , Or Gerlitz , Alex Rosenbaum , Eliezer Tamir Date: Mon, 03 Jun 2013 06:09:57 -0700 In-Reply-To: <20130603080149.18273.27347.stgit@ladj378.jer.intel.com> References: <20130603080107.18273.34279.stgit@ladj378.jer.intel.com> <20130603080149.18273.27347.stgit@ladj378.jer.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2013-06-03 at 11:01 +0300, Eliezer Tamir wrote: > Adds low latency socket poll support for TCP. > In tcp_v[46]_rcv() add a call to sk_mark_ll() to copy the napi_id > from the skb to the sk. > In tcp_recvmsg(), when there is no data in the socket we busy-poll. > This is a good example of how to add busy-poll support to more protocols. > > Signed-off-by: Alexander Duyck > Signed-off-by: Jesse Brandeburg > Tested-by: Willem de Bruijn > Signed-off-by: Eliezer Tamir > --- Reviewed-by: Eric Dumazet