From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20EA9A31F3 for ; Sat, 19 Oct 2019 01:52:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3AEC1C07F; Sat, 19 Oct 2019 01:52:01 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 7CB191C07D for ; Sat, 19 Oct 2019 01:52:00 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2019 16:51:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,313,1566889200"; d="scan'208";a="186983797" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga007.jf.intel.com with ESMTP; 18 Oct 2019 16:51:58 -0700 Date: Sat, 19 Oct 2019 07:49:06 +0800 From: Ye Xiaolong To: Ciara Loftus Cc: dev@dpdk.org, kevin.laatz@intel.com, bruce.richardson@intel.com Message-ID: <20191018234906.GC44515@intel.com> References: <20190930164205.19419-1-ciara.loftus@intel.com> <20190930164205.19419-3-ciara.loftus@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190930164205.19419-3-ciara.loftus@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v2 2/3] net/af_xdp: support pinning of IRQs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 09/30, Ciara Loftus wrote: >Network devices using the AF_XDP PMD will trigger interrupts >on reception of packets. The new PMD argument 'queue_irq' >allows the user to specify a core on which to pin interrupts >for a given queue. Multiple queue_irq arguments can be specified. >For example: > > --vdev=net_af_xdp1,iface=eth0,queue_count=2, > queue_irq=0:2,queue_irq=1:5 > >..will pin queue 0 interrupts to core 2 and queue 1 interrupts >to core 5. > >The queue argument refers to the ethdev queue as opposed to the >netdev queue. These values are the same unless a value greater >than 0 is specified in a start_queue argument. > >The drivers supported for this feature are those with support for >AF_XDP zero copy in the kernel, namely ixgbe, i40e and mlx5_core. > >Signed-off-by: Ciara Loftus >Signed-off-by: Bruce Richardson >--- > doc/guides/nics/af_xdp.rst | 15 + > doc/guides/rel_notes/release_19_11.rst | 7 + > drivers/net/af_xdp/rte_eth_af_xdp.c | 366 ++++++++++++++++++++++++- > 3 files changed, 383 insertions(+), 5 deletions(-) > Reviewed-by: Xiaolong Ye