Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934693AbdCWWWK (ORCPT ); Thu, 23 Mar 2017 18:22:10 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:36007 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755246AbdCWWWI (ORCPT ); Thu, 23 Mar 2017 18:22:08 -0400 Message-ID: <1490307725.9687.8.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: [net-next PATCH v2 8/8] net: Introduce SO_INCOMING_NAPI_ID 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:22:05 -0700 In-Reply-To: <20170323213802.12615.58216.stgit@localhost.localdomain> References: <20170323211820.12615.88907.stgit@localhost.localdomain> <20170323213802.12615.58216.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: 511 Lines: 13 On Thu, 2017-03-23 at 14:38 -0700, Alexander Duyck wrote: > From: Sridhar Samudrala > > This socket option returns the NAPI ID associated with the queue on which > the last frame is received. This information can be used by the apps to > split the incoming flows among the threads based on the Rx queue on which > they are received. > > If the NAPI ID actually represents a sender_cpu then the value is ignored > and 0 is returned. Acked-by: Eric Dumazet