Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934848AbdCWWZZ (ORCPT ); Thu, 23 Mar 2017 18:25:25 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:34358 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755837AbdCWWZX (ORCPT ); Thu, 23 Mar 2017 18:25:23 -0400 Message-ID: <1490307909.9687.9.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: [net-next PATCH v2 6/8] net: Commonize busy polling code to focus on napi_id instead of socket From: Eric Dumazet To: Alexander Duyck Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sridhar.samudrala@intel.com, edumazet@google.com, davem@davemloft.net, linux-api@vger.kernel.org Date: Thu, 23 Mar 2017 15:25:09 -0700 In-Reply-To: <20170323213749.12615.38165.stgit@localhost.localdomain> References: <20170323211820.12615.88907.stgit@localhost.localdomain> <20170323213749.12615.38165.stgit@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 478 Lines: 14 On Thu, 2017-03-23 at 14:37 -0700, Alexander Duyck wrote: > From: Sridhar Samudrala > > Move the core functionality in sk_busy_loop() to napi_busy_loop() and > make it independent of sk. > > This enables re-using this function in epoll busy loop implementation. > > Signed-off-by: Sridhar Samudrala > Signed-off-by: Alexander Duyck > --- Acked-by: Eric Dumazet